diff options
| author | ad <ad@NetBSD.org> | 2007-03-21 19:08:18 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2007-03-21 19:08:18 +0000 |
| commit | 1dd83d775876f6d7612f63e53432c8f0bf8e33c4 (patch) | |
| tree | 194214b2ecd308f721416bb1df33811eeef6a427 /lib/libpthread/pthread_cond.c | |
| parent | a63c21f286810ce8b9739534f6655fd364072250 (diff) | |
Move PTHREADD_ADD(PTHREADD_COND_WOKEUP) back to the correct spot.
Diffstat (limited to 'lib/libpthread/pthread_cond.c')
| -rw-r--r-- | lib/libpthread/pthread_cond.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_cond.c b/lib/libpthread/pthread_cond.c index 1421f12aaa6..1e772f2e8fd 100644 --- a/lib/libpthread/pthread_cond.c +++ b/lib/libpthread/pthread_cond.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_cond.c,v 1.28 2007/03/20 23:49:58 ad Exp $ */ +/* $NetBSD: pthread_cond.c,v 1.29 2007/03/21 19:08:18 ad Exp $ */ /*- * Copyright (c) 2001, 2006, 2007 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_cond.c,v 1.28 2007/03/20 23:49:58 ad Exp $"); +__RCSID("$NetBSD: pthread_cond.c,v 1.29 2007/03/21 19:08:18 ad Exp $"); #include <errno.h> #include <sys/time.h> @@ -268,8 +268,8 @@ pthread_cond_signal(pthread_cond_t *cond) } else { pthread__unpark(self, &cond->ptc_lock, &cond->ptc_waiters, signaled); - PTHREADD_ADD(PTHREADD_COND_WOKEUP); } + PTHREADD_ADD(PTHREADD_COND_WOKEUP); return 0; } |
