PERFORCE change 67993 for review

David Xu davidxu at FreeBSD.org
Fri Dec 31 07:08:27 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=67993

Change 67993 by davidxu at 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");


More information about the p4-projects mailing list