Source-Changes-HG archive

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

[src/trunk]: src/lib/libpthread Disable userlevel nanosleep() until I find th...



details:   https://anonhg.NetBSD.org/src/rev/fc9fcf47d443
branches:  trunk
changeset: 543598:fc9fcf47d443
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Feb 28 18:37:44 2003 +0000

description:
Disable userlevel nanosleep() until I find the timer/alarm bug that it
is tickling.

diffstat:

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

diffs (47 lines):

diff -r d8228de7d192 -r fc9fcf47d443 lib/libpthread/Makefile
--- a/lib/libpthread/Makefile   Fri Feb 28 18:24:58 2003 +0000
+++ b/lib/libpthread/Makefile   Fri Feb 28 18:37:44 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2003/02/15 22:15:50 nathanw Exp $
+#      $NetBSD: Makefile,v 1.15 2003/02/28 18:37:44 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 d8228de7d192 -r fc9fcf47d443 lib/libpthread/pthread.c
--- a/lib/libpthread/pthread.c  Fri Feb 28 18:24:58 2003 +0000
+++ b/lib/libpthread/pthread.c  Fri Feb 28 18:37:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread.c,v 1.12 2003/02/26 23:41:01 nathanw Exp $     */
+/*     $NetBSD: pthread.c,v 1.13 2003/02/28 18:37:44 nathanw Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -89,7 +89,9 @@
  */
 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,
@@ -99,7 +101,9 @@
        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