diff options
author | jb <jb@FreeBSD.org> | 1998-04-10 09:33:09 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-04-10 09:33:09 +0000 |
commit | ab575a6efe3040e74e7bc4ca1eb20a4ed9b31562 (patch) | |
tree | 1bbd19cb17fd59a3b39e442bb3814496a332c584 | |
parent | 035d92130a4cee29b1f740fbdfd818a0087bca19 (diff) | |
download | FreeBSD-src-ab575a6efe3040e74e7bc4ca1eb20a4ed9b31562.zip FreeBSD-src-ab575a6efe3040e74e7bc4ca1eb20a4ed9b31562.tar.gz |
Add a reference to the gcc linker option -pthread that is part of
the FreeBSD configuration LIB_SPEC.
-rw-r--r-- | share/man/man3/pthread.3 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3 index 2e3000b..0ce2f13 100644 --- a/share/man/man3/pthread.3 +++ b/share/man/man3/pthread.3 @@ -28,7 +28,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: pthread.3,v 1.4 1997/12/25 09:36:40 hoek Exp $ +.\" $Id: pthread.3,v 1.5 1998/01/02 19:19:50 alex Exp $ .\" .Dd April 4, 1996 .Dt PTHREAD 3 @@ -182,6 +182,14 @@ is built as part of a 'make world'. To disable the build of .Fa libc_r you must supply the '-DNOLIBC_R' option to .Xr make 1 . +.Pp +A FreeBSD specific option has been added to gcc to make linking +threaded processes simple. +.Fa gcc -pthread +links a threaded process against +.Fa libc_r +instead of +.Fa libc. .Sh STANDARDS The functions in .Fa libc_r @@ -189,9 +197,9 @@ with the .Fa pthread_ prefix and not .Fa _np -suffix are expected to conform to IEEE +suffix conform to IEEE .Pq Dq Tn POSIX -Std 1003.1c. +Std 1003.1 Second Edition 1996-07-12 .Pp The functions in libc_r with the .Fa pthread_ |