Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libpthread/pthread_spin.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libpthread/pthread_spin.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5 retrieving revision 1.5.4.1 diff -u -p -r1.5 -r1.5.4.1 --- src/lib/libpthread/pthread_spin.c 2008/04/28 20:23:01 1.5 +++ src/lib/libpthread/pthread_spin.c 2012/10/30 18:59:15 1.5.4.1 @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_spin.c,v 1.5 2008/04/28 20:23:01 martin Exp $ */ +/* $NetBSD: pthread_spin.c,v 1.5.4.1 2012/10/30 18:59:15 yamt Exp $ */ /*- * Copyright (c) 2001, 2006, 2007 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include -__RCSID("$NetBSD: pthread_spin.c,v 1.5 2008/04/28 20:23:01 martin Exp $"); +__RCSID("$NetBSD: pthread_spin.c,v 1.5.4.1 2012/10/30 18:59:15 yamt Exp $"); #include #include @@ -133,6 +133,7 @@ pthread_spin_unlock(pthread_spinlock_t * self = pthread__self(); pthread__spinunlock(self, &lock->pts_spin); + pthread__smt_wake(); return 0; }