Date: Fri, 31 Dec 2004 15:08:25 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67993 for review Message-ID: <200412311508.iBVF8PpI009731@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67993 Change 67993 by davidxu@davidxu_tiger on 2004/12/31 15:08:20 use name mutex_reinit(). Affected files ... .. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_spinlock.c#5 edit Differences ... ==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_spinlock.c#5 (text+ko) ==== @@ -129,9 +129,9 @@ int i; if (initialized != 0) { - _thr_mutex_reinit(&spinlock_static_lock); + _mutex_reinit(&spinlock_static_lock); for (i = 0; i < spinlock_count; i++) - _thr_mutex_reinit(&extra[i].lock); + _mutex_reinit(&extra[i].lock); } else { if (_pthread_mutex_init(&spinlock_static_lock, NULL)) PANIC("Cannot initialize spinlock_static_lock");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412311508.iBVF8PpI009731>