PERFORCE change 65522 for review

David Xu davidxu at FreeBSD.org
Fri Nov 19 20:57:29 PST 2004


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

Change 65522 by davidxu at davidxu_alona on 2004/11/20 04:57:15

	use _thr_check_init().

Affected files ...

.. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_atfork.c#3 edit

Differences ...

==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_atfork.c#3 (text+ko) ====

@@ -39,8 +39,7 @@
 {
 	struct pthread_atfork *af;
 
-	if (_thr_initial == NULL)
-		_libpthread_init(NULL);
+	_thr_check_init();
 
 	if ((af = malloc(sizeof(struct pthread_atfork))) == NULL)
 		return (ENOMEM);


More information about the p4-projects mailing list