Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2006 04:46:21 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 101507 for review
Message-ID:  <200607140446.k6E4kLN5023844@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101507

Change 101507 by jb@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607140446.k6E4kLN5023844>