|
pthread_rwlock_tryrdlock(3) -- acquire a read/write lock for reading
|
The pthread_rwlock_rdlock() function acquires a read lock on lock provided that lock is not presently held for writing and no writer threads are presently blocked on the lock. If the read lock cannot ... |
pthread_rwlock_trywrlock(3) -- acquire a read/write lock for writing
|
The pthread_rwlock_wrlock() function blocks until a write lock can be acquired against lock. The pthread_rwlock_trywrlock() function performs the same action, but does not block if the lock cannot be ... |
pthread_rwlock_unlock(3) -- release a read/write lock
|
The pthread_rwlock_unlock() function is used to release the read/write lock previously obtained by pthread_rwlock_rdlock(), pthread_rwlock_wrlock(), pthread_rwlock_tryrdlock(), or pthread_rwlock_trywr... |
pthread_rwlock_wrlock(3) -- acquire a read/write lock for writing
|
The pthread_rwlock_wrlock() function blocks until a write lock can be acquired against lock. The pthread_rwlock_trywrlock() function performs the same action, but does not block if the lock cannot be ... |
pthread_schedparam(3) -- thread scheduling parameter manipulation
|
The pthread_setschedparam() and pthread_getschedparam() functions set and get the scheduling parameters of individual threads. The scheduling policy for a thread can either be SCHED_FIFO (first in, fi... |
pthread_self(3) -- get the calling thread's ID
|
The pthread_self() function returns the thread ID of the calling thread. |
pthread_setcancelstate(3) -- set cancelability state
|
The pthread_setcancelstate() function atomically both sets the calling thread's cancelability state to the indicated state and, if oldstate is not NULL, returns the previous cancelability state at th... |
pthread_setcanceltype(3) -- set cancelability state
|
The pthread_setcancelstate() function atomically both sets the calling thread's cancelability state to the indicated state and, if oldstate is not NULL, returns the previous cancelability state at th... |
pthread_setconcurrency(3) -- get or set level of concurrency
|
The pthread_getconcurrency() function allows an application to inform the threads implementation of its desired concurrency level, new_level. The actual level of concurrency provided by the implementa... |
pthread_setschedparam(3) -- thread scheduling parameter manipulation
|
The pthread_setschedparam() and pthread_getschedparam() functions set and get the scheduling parameters of individual threads. The scheduling policy for a thread can either be SCHED_FIFO (first in, fi... |
pthread_setspecific(3) -- set a thread-specific data value
|
The pthread_setspecific() function associates a thread-specific value with a key obtained via a previous call to pthread_key_create(). Different threads may bind different values to the same key. Thes... |
pthread_set_name_np(3) -- set the name of a thread
|
The pthread_set_name_np() function associates name with thread. This can be useful for debugging, as the name is displayed in the thread status as displayed when the process receives the SIGINFO signa... |
pthread_sigmask(3) -- examine and/or change a thread's signal mask
|
The pthread_sigmask() function examines and/or changes the calling thread's signal mask. If set is not NULL, it specifies a set of signals to be modified, and how specifies what to set the signal mas... |