Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpthread Re-enable nanosleep(); kernel bug is squished...



details:   https://anonhg.NetBSD.org/src/rev/770ed81bdc98
branches:  trunk
changeset: 544083:770ed81bdc98
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Mon Mar 10 22:16:36 2003 +0000

description:
Re-enable nanosleep(); kernel bug is squished (kern_time.c:1.67).

diffstat:

 lib/libpthread/Makefile  |  4 ++--
 lib/libpthread/pthread.c |  8 ++------
 2 files changed, 4 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r d3e7b75c41eb -r 770ed81bdc98 lib/libpthread/Makefile
--- a/lib/libpthread/Makefile   Mon Mar 10 21:49:56 2003 +0000
+++ b/lib/libpthread/Makefile   Mon Mar 10 22:16:36 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2003/02/28 18:37:44 nathanw Exp $
+#      $NetBSD: Makefile,v 1.16 2003/03/10 22:16:36 nathanw Exp $
 #
 
 WARNS= 2
@@ -49,7 +49,7 @@
 SRCS+= pthread_rwlock.c
 SRCS+= pthread_sa.c
 SRCS+= pthread_sig.c
-#SRCS+=        pthread_sleep.c
+SRCS+= pthread_sleep.c
 SRCS+= pthread_specific.c
 SRCS+=  pthread_stack.c
 SRCS+=  pthread_debug.c
diff -r d3e7b75c41eb -r 770ed81bdc98 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Mon Mar 10 21:49:56 2003 +0000
+++ b/lib/libpthread/pthread.c  Mon Mar 10 22:16:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread.c,v 1.14 2003/03/08 08:03:34 lukem Exp $       */
+/*     $NetBSD: pthread.c,v 1.15 2003/03/10 22:16:37 nathanw Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread.c,v 1.14 2003/03/08 08:03:34 lukem Exp $");
+__RCSID("$NetBSD: pthread.c,v 1.15 2003/03/10 22:16:37 nathanw Exp $");
 
 #include <err.h>
 #include <errno.h>
@@ -90,9 +90,7 @@
  */
 extern int pthread__cancel_stub_binder;
 extern int pthread__sched_binder;
-#if 0
 extern struct pthread_queue_t pthread__nanosleeping;
-#endif
 
 void *pthread__static_lib_binder[] = {
        &pthread__cancel_stub_binder,
@@ -102,9 +100,7 @@
        pthread_barrier_init,
        pthread_key_create,
        &pthread__sched_binder,
-#if 0
        &pthread__nanosleeping
-#endif
 };
 
 /* Private data for pthread_attr_t */



Home | Main Index | Thread Index | Old Index