summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_cond.c
diff options
context:
space:
mode:
authorad <ad@NetBSD.org>2007-03-21 19:08:18 +0000
committerad <ad@NetBSD.org>2007-03-21 19:08:18 +0000
commit1dd83d775876f6d7612f63e53432c8f0bf8e33c4 (patch)
tree194214b2ecd308f721416bb1df33811eeef6a427 /lib/libpthread/pthread_cond.c
parenta63c21f286810ce8b9739534f6655fd364072250 (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.c6
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;
}