Introduce .Lb macro to libc_r manpages.
This commit is contained in:
parent
efa90abcbe
commit
d8a7868820
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_destroy
|
||||
.Nd destroy an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_getvalue
|
||||
.Nd get the value of a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_init
|
||||
.Nd initialize an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -34,6 +34,8 @@
|
||||
.Nm sem_close ,
|
||||
.Nm sem_unlink
|
||||
.Nd named semaphore operations
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft sem_t *
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_post
|
||||
.Nd increment (unlock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Nm sem_wait ,
|
||||
.Nm sem_trywait
|
||||
.Nd decrement (lock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -5,6 +5,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cancel
|
||||
.Nd cancel execution of a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_pop
|
||||
.Nd call the first cleanup routine
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_push
|
||||
.Nd add a cleanup function for thread exit
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_broadcast
|
||||
.Nd unblock all threads waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_destroy
|
||||
.Nd destroy a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_init
|
||||
.Nd create a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_signal
|
||||
.Nd unblock a thread waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_timedwait
|
||||
.Nd wait on a condition variable for a specific amount of time
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_wait
|
||||
.Nd wait on a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_create
|
||||
.Nd create a new thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_detach
|
||||
.Nd detach a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_equal
|
||||
.Nd compare thread IDs
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_exit
|
||||
.Nd terminate the calling thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_getspecific
|
||||
.Nd get a thread-specific data value
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void *
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_join
|
||||
.Nd wait for thread termination
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_key_create
|
||||
.Nd thread-specific data key creation
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_key_delete
|
||||
.Nd delete a thread-specific data key
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_destroy
|
||||
.Nd free resources allocated for a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_init
|
||||
.Nd create a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_lock
|
||||
.Nd lock a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_trylock
|
||||
.Nd attempt to lock a mutex without blocking
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_unlock
|
||||
.Nd unlock a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_once
|
||||
.Nd dynamic package initialization
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Pp
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_destroy
|
||||
.Nd destroy a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_init
|
||||
.Nd initialize a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -31,6 +31,8 @@
|
||||
.Nm pthread_rwlock_rdlock ,
|
||||
.Nm pthread_rwlock_tryrdlock
|
||||
.Nd acquire a read/write lock for reading
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_unlock
|
||||
.Nd release a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -31,6 +31,8 @@
|
||||
.Nm pthread_rwlock_wrlock ,
|
||||
.Nm pthread_rwlock_trywrlock
|
||||
.Nd acquire a read/write lock for writing
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_destroy
|
||||
.Nd destroy a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_getpshared
|
||||
.Nd get the process shared attribute
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_init
|
||||
.Nd initialize a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_setpshared
|
||||
.Nd set the process shared attribute
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_self
|
||||
.Nd get the calling thread's ID
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft pthread_t
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_setspecific
|
||||
.Nd set a thread-specific data value
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -7,6 +7,8 @@
|
||||
.Nm pthread_setcanceltype ,
|
||||
.Nm pthread_testcancel
|
||||
.Nd set cancelability state
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_destroy
|
||||
.Nd destroy an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_getvalue
|
||||
.Nd get the value of a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_init
|
||||
.Nd initialize an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -34,6 +34,8 @@
|
||||
.Nm sem_close ,
|
||||
.Nm sem_unlink
|
||||
.Nd named semaphore operations
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft sem_t *
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_post
|
||||
.Nd increment (unlock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Nm sem_wait ,
|
||||
.Nm sem_trywait
|
||||
.Nd decrement (lock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -5,6 +5,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cancel
|
||||
.Nd cancel execution of a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_pop
|
||||
.Nd call the first cleanup routine
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_push
|
||||
.Nd add a cleanup function for thread exit
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_broadcast
|
||||
.Nd unblock all threads waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_destroy
|
||||
.Nd destroy a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_init
|
||||
.Nd create a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_signal
|
||||
.Nd unblock a thread waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_timedwait
|
||||
.Nd wait on a condition variable for a specific amount of time
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_wait
|
||||
.Nd wait on a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_create
|
||||
.Nd create a new thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_detach
|
||||
.Nd detach a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_equal
|
||||
.Nd compare thread IDs
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_exit
|
||||
.Nd terminate the calling thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_getspecific
|
||||
.Nd get a thread-specific data value
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void *
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_join
|
||||
.Nd wait for thread termination
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_key_create
|
||||
.Nd thread-specific data key creation
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_key_delete
|
||||
.Nd delete a thread-specific data key
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_destroy
|
||||
.Nd free resources allocated for a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_init
|
||||
.Nd create a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_lock
|
||||
.Nd lock a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_trylock
|
||||
.Nd attempt to lock a mutex without blocking
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_mutex_unlock
|
||||
.Nd unlock a mutex
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_once
|
||||
.Nd dynamic package initialization
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Pp
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_destroy
|
||||
.Nd destroy a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_init
|
||||
.Nd initialize a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -31,6 +31,8 @@
|
||||
.Nm pthread_rwlock_rdlock ,
|
||||
.Nm pthread_rwlock_tryrdlock
|
||||
.Nd acquire a read/write lock for reading
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlock_unlock
|
||||
.Nd release a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -31,6 +31,8 @@
|
||||
.Nm pthread_rwlock_wrlock ,
|
||||
.Nm pthread_rwlock_trywrlock
|
||||
.Nd acquire a read/write lock for writing
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_destroy
|
||||
.Nd destroy a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_getpshared
|
||||
.Nd get the process shared attribute
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_init
|
||||
.Nd initialize a read/write lock
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -30,6 +30,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_rwlockattr_setpshared
|
||||
.Nd set the process shared attribute
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_self
|
||||
.Nd get the calling thread's ID
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft pthread_t
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_setspecific
|
||||
.Nd set a thread-specific data value
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -7,6 +7,8 @@
|
||||
.Nm pthread_setcanceltype ,
|
||||
.Nm pthread_testcancel
|
||||
.Nd set cancelability state
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_destroy
|
||||
.Nd destroy an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_getvalue
|
||||
.Nd get the value of a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_init
|
||||
.Nd initialize an unnamed semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -34,6 +34,8 @@
|
||||
.Nm sem_close ,
|
||||
.Nm sem_unlink
|
||||
.Nd named semaphore operations
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft sem_t *
|
||||
|
@ -32,6 +32,8 @@
|
||||
.Sh NAME
|
||||
.Nm sem_post
|
||||
.Nd increment (unlock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Nm sem_wait ,
|
||||
.Nm sem_trywait
|
||||
.Nd decrement (lock) a semaphore
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <semaphore.h>
|
||||
.Ft int
|
||||
|
@ -5,6 +5,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cancel
|
||||
.Nd cancel execution of a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_pop
|
||||
.Nd call the first cleanup routine
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cleanup_push
|
||||
.Nd add a cleanup function for thread exit
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft void
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_broadcast
|
||||
.Nd unblock all threads waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_destroy
|
||||
.Nd destroy a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_init
|
||||
.Nd create a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_signal
|
||||
.Nd unblock a thread waiting for a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_timedwait
|
||||
.Nd wait on a condition variable for a specific amount of time
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -33,6 +33,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_cond_wait
|
||||
.Nd wait on a condition variable
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_create
|
||||
.Nd create a new thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_detach
|
||||
.Nd detach a thread
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
@ -36,6 +36,8 @@
|
||||
.Sh NAME
|
||||
.Nm pthread_equal
|
||||
.Nd compare thread IDs
|
||||
.Sh LIBRARY
|
||||
.Lb libc_r
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <pthread.h>
|
||||
.Ft int
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user