summaryrefslogtreecommitdiff
path: root/lib/libpthread/debuglog.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-03-02 18:53:51 +0000
committerad <ad@NetBSD.org>2007-03-02 18:53:51 +0000
commitde2138164cd16145ee5fd4d0aef1e8f952c1a9fb (patch)
tree62f3356c867aad6687c1930c0d2b01494a60a30b /lib/libpthread/debuglog.c
parentdba14ef0a08bc45d3d11517130f37fff26a4ba4c (diff)
Remove the PTHREAD_SA option. If M:N threads is reimplemented it's
better off done with a seperate library.
Diffstat (limited to 'lib/libpthread/debuglog.c')
-rw-r--r--lib/libpthread/debuglog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/debuglog.c b/lib/libpthread/debuglog.c
index fd3a112956c..48de75665f7 100644
--- a/lib/libpthread/debuglog.c
+++ b/lib/libpthread/debuglog.c
@@ -1,4 +1,4 @@
-/* $NetBSD: debuglog.c,v 1.6 2006/12/14 20:39:04 ad Exp $ */
+/* $NetBSD: debuglog.c,v 1.7 2007/03/02 18:53:51 ad Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -145,7 +145,7 @@ pthread__debuglog_read(int follow, int trunc)
debugbuf->msg_bufr = writep;
if (follow)
- sleep(1);
+ sched_yield();
} while (follow);
}