summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_lock.c
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2005-03-17 17:23:21 +0000
committerjwise <jwise@NetBSD.org>2005-03-17 17:23:21 +0000
commitf5798452946fd7e3c51a2ecc0227e671d70c8308 (patch)
treefe33b11bd05120e47fb47f4176864bc18581a8fa /lib/libpthread/pthread_lock.c
parent9411ed143ed61793ed288ad411c2a1234d3ac2a5 (diff)
Lint warning police -- don't use `//' for comments in C code.
Diffstat (limited to 'lib/libpthread/pthread_lock.c')
-rw-r--r--lib/libpthread/pthread_lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/pthread_lock.c b/lib/libpthread/pthread_lock.c
index 5b4fbb48ce0..c532c10cf65 100644
--- a/lib/libpthread/pthread_lock.c
+++ b/lib/libpthread/pthread_lock.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_lock.c,v 1.13 2005/01/06 17:38:29 mycroft Exp $ */
+/* $NetBSD: pthread_lock.c,v 1.14 2005/03/17 17:23:21 jwise Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_lock.c,v 1.13 2005/01/06 17:38:29 mycroft Exp $");
+__RCSID("$NetBSD: pthread_lock.c,v 1.14 2005/03/17 17:23:21 jwise Exp $");
#include <sys/types.h>
#include <sys/lock.h>
@@ -257,7 +257,7 @@ pthread_spinunlock(pthread_t thread, pthread_spin_t *lock)
if ((thread->pt_spinlocks == 0) && (thread->pt_next != NULL)) {
PTHREADD_ADD(PTHREADD_SPINPREEMPT);
-// pthread__assert(thread->pt_blockgen == thread->pt_unblockgen);
+ /* pthread__assert(thread->pt_blockgen == thread->pt_unblockgen); */
pthread__switch(thread, thread->pt_next);
}
}