Deleted Added
full compact
pthread.3 (73097) pthread.3 (79366)
1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
1.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" $FreeBSD: head/share/man/man3/pthread.3 73097 2001-02-26 16:02:53Z ru $
31.\" $FreeBSD: head/share/man/man3/pthread.3 79366 2001-07-06 16:46:48Z ru $
32.\"
33.Dd September 10, 1998
34.Dt PTHREAD 3
35.Os BSD 4
36.Sh NAME
37.Nm pthread
38.Nd POSIX thread functions
39.Sh SYNOPSIS

--- 355 unchanged lines hidden (view full) ---

395specific option has been added to gcc to make linking
396threaded processes simple.
397.Fa gcc -pthread
398links a threaded process against
399.Fa libc_r
400instead of
401.Fa libc .
402.Sh SEE ALSO
32.\"
33.Dd September 10, 1998
34.Dt PTHREAD 3
35.Os BSD 4
36.Sh NAME
37.Nm pthread
38.Nd POSIX thread functions
39.Sh SYNOPSIS

--- 355 unchanged lines hidden (view full) ---

395specific option has been added to gcc to make linking
396threaded processes simple.
397.Fa gcc -pthread
398links a threaded process against
399.Fa libc_r
400instead of
401.Fa libc .
402.Sh SEE ALSO
403.Xr pthread_cleanup_pop 3 ,
404.Xr pthread_cleanup_push 3 ,
405.Xr pthread_cond_broadcast 3 ,
406.Xr pthread_cond_destroy 3 ,
407.Xr pthread_cond_init 3 ,
408.Xr pthread_cond_signal 3 ,
409.Xr pthread_cond_timedwait 3 ,
410.Xr pthread_cond_wait 3 ,
403.Xr pthread_create 3 ,
404.Xr pthread_detach 3 ,
405.Xr pthread_equal 3 ,
406.Xr pthread_exit 3 ,
411.Xr pthread_create 3 ,
412.Xr pthread_detach 3 ,
413.Xr pthread_equal 3 ,
414.Xr pthread_exit 3 ,
415.Xr pthread_getspecific 3 ,
407.Xr pthread_join 3 ,
416.Xr pthread_join 3 ,
408.Xr pthread_once 3 ,
409.Xr pthread_self 3 ,
417.Xr pthread_key_delete 3 ,
410.Xr pthread_mutex_destroy 3 ,
411.Xr pthread_mutex_init 3 ,
412.Xr pthread_mutex_lock 3 ,
413.Xr pthread_mutex_trylock 3 ,
414.Xr pthread_mutex_unlock 3 ,
418.Xr pthread_mutex_destroy 3 ,
419.Xr pthread_mutex_init 3 ,
420.Xr pthread_mutex_lock 3 ,
421.Xr pthread_mutex_trylock 3 ,
422.Xr pthread_mutex_unlock 3 ,
415.Xr pthread_cond_broadcast 3 ,
416.Xr pthread_cond_destroy 3 ,
417.Xr pthread_cond_init 3 ,
418.Xr pthread_cond_signal 3 ,
419.Xr pthread_cond_timedwait 3 ,
420.Xr pthread_cond_wait 3 ,
423.Xr pthread_once 3 ,
424.Xr pthread_rwlockattr_destroy 3 ,
425.Xr pthread_rwlockattr_getpshared 3 ,
426.Xr pthread_rwlockattr_init 3 ,
427.Xr pthread_rwlockattr_setpshared 3 ,
421.Xr pthread_rwlock_destroy 3 ,
422.Xr pthread_rwlock_init 3 ,
423.Xr pthread_rwlock_rdlock 3 ,
424.Xr pthread_rwlock_unlock 3 ,
425.Xr pthread_rwlock_wrlock 3 ,
428.Xr pthread_rwlock_destroy 3 ,
429.Xr pthread_rwlock_init 3 ,
430.Xr pthread_rwlock_rdlock 3 ,
431.Xr pthread_rwlock_unlock 3 ,
432.Xr pthread_rwlock_wrlock 3 ,
426.Xr pthread_rwlockattr_destroy 3 ,
427.Xr pthread_rwlockattr_getpshared 3 ,
428.Xr pthread_rwlockattr_init 3 ,
429.Xr pthread_rwlockattr_setpshared 3 ,
430.Xr pthread_key_delete 3 ,
431.Xr pthread_getspecific 3 ,
432.Xr pthread_setspecific 3 ,
433.Xr pthread_cleanup_pop 3 ,
434.Xr pthread_cleanup_push 3
433.Xr pthread_self 3 ,
434.Xr pthread_setspecific 3
435.Sh STANDARDS
436The functions in
437.Fa libc_r
438with the
439.Fa pthread_
440prefix and not
441.Fa _np
442suffix or

--- 14 unchanged lines hidden ---
435.Sh STANDARDS
436The functions in
437.Fa libc_r
438with the
439.Fa pthread_
440prefix and not
441.Fa _np
442suffix or

--- 14 unchanged lines hidden ---