PERFORCE change 101507 for review

John Birrell jb at FreeBSD.org
Fri Jul 14 04:46:22 UTC 2006


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

Change 101507 by jb at jb_freebsd2 on 2006/07/14 04:46:05

	Only build in the jump table if threads aren't being built into libc.

Affected files ...

.. //depot/projects/dtrace/src/lib/libc/include/libc_private.h#3 edit

Differences ...

==== //depot/projects/dtrace/src/lib/libc/include/libc_private.h#3 (text+ko) ====

@@ -63,6 +63,7 @@
 #define	FLOCKFILE(fp)		if (__isthreaded) _FLOCKFILE(fp)
 #define	FUNLOCKFILE(fp)		if (__isthreaded) _funlockfile(fp)
 
+#ifndef LIBC_THREADS
 /*
  * Indexes into the pthread jump table.
  *
@@ -136,6 +137,7 @@
 typedef pthread_func_t pthread_func_entry_t[2];
 
 extern pthread_func_entry_t __thr_jtable[];
+#endif
 
 /*
  * yplib internal interfaces


More information about the p4-projects mailing list