summaryrefslogtreecommitdiff
path: root/lib/libpthread/debuglog.c
diff options
context:
space:
mode:
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);
}