Skip site
navigation (1)Skip section navigation (2)
FreeBSD Manual Pages
- plockstat(1)
- Trace pthread lock statistics using DTrace
- pthread(3)
- POSIX thread functions
- pthread_atfork(3)
- register fork handlers
- pthread_attr_get_np(3)
- get attributes of an existing thread
- pthread_attr_getaffinity_np(3), pthread_attr_setaffinity_np(3)
- manage CPU affinity in thread attribute objects
- pthread_attr_init(3), pthread_attr_destroy(3), pthread_attr_setstack(3), pthread_attr_getstack(3), pthread_attr_setstacksize(3), pthread_attr_getstacksize(3), pthread_attr_setguardsize(3), pthread_attr_getguardsize(3), pthread_attr_setstackaddr(3), pthread_attr_getstackaddr(3), pthread_attr_setdetachstate(3), pthread_attr_getdetachstate(3), pthread_attr_setinheritsched(3), pthread_attr_getinheritsched(3), pthread_attr_setschedparam(3), pthread_attr_getschedparam(3), pthread_attr_setschedpolicy(3), pthread_attr_getschedpolicy(3), pthread_attr_setscope(3), pthread_attr_getscope(3)
- thread attribute operations
- pthread_attr_setcreatesuspend_np(3)
- prepare attribute for creation of suspended thread
- pthread_barrier_destroy(3), pthread_barrier_init(3), pthread_barrier_wait(3)
- destroy, initialize or wait on a barrier object
- pthread_barrierattr_destroy(3), pthread_barrierattr_getpshared(3), pthread_barrierattr_init(3), pthread_barrierattr_setpshared(3)
- manipulate a barrier attribute object
- pthread_cancel(3)
- cancel execution of a thread
- pthread_cleanup_pop(3)
- call the first cleanup routine
- pthread_cleanup_push(3)
- add a cleanup function for thread exit
- pthread_cond_broadcast(3)
- unblock all threads waiting for a condition variable
- pthread_cond_destroy(3)
- destroy a condition variable
- pthread_cond_init(3)
- create a condition variable
- pthread_cond_signal(3)
- unblock a thread waiting for a condition variable
- pthread_cond_timedwait(3)
- wait on a condition variable for a specific amount of time
- pthread_cond_wait(3)
- wait on a condition variable
- pthread_condattr_init(3), pthread_condattr_destroy(3), pthread_condattr_getclock(3), pthread_condattr_setclock(3), pthread_condattr_getpshared(3), pthread_condattr_setpshared(3)
- condition attribute operations
- pthread_create(3)
- create a new thread
- pthread_detach(3)
- detach a thread
- pthread_equal(3)
- compare thread IDs
- pthread_exit(3)
- terminate the calling thread
- pthread_get_name_np(3), pthread_getname_np(3), pthread_set_name_np(3), pthread_setname_np(3)
- set and retrieve the thread name
- pthread_getaffinity_np(3), pthread_setaffinity_np(3)
- manage CPU affinity
- pthread_getconcurrency(3), pthread_setconcurrency(3)
- get or set level of concurrency
- pthread_getcpuclockid(3)
- access a thread CPU-time clock
- pthread_getspecific(3)
- get a thread-specific data value
- pthread_getthreadid_np(3)
- get the calling thread's integral ID
- pthread_join(3), pthread_peekjoin_np(3), pthread_timedjoin_np(3)
- inspect thread termination state
- pthread_key_create(3)
- thread-specific data key creation
- pthread_key_delete(3)
- delete a thread-specific data key
- pthread_kill(3)
- send a signal to a specified thread
- pthread_main_np(3)
- identify the initial thread
- pthread_multi_np(3), pthread_single_np(3)
- switch between multi- and single-threaded scheduling modes
- pthread_mutex_consistent(3)
- mark state protected by robust mutex as consistent
- pthread_mutex_destroy(3)
- free resources allocated for a mutex
- pthread_mutex_init(3)
- create a mutex
- pthread_mutex_lock(3)
- lock a mutex
- pthread_mutex_timedlock(3)
- lock a mutex without blocking indefinitely
- pthread_mutex_trylock(3)
- attempt to lock a mutex without blocking
- pthread_mutex_unlock(3)
- unlock a mutex
- pthread_mutexattr_getkind_np(3), pthread_mutexattr_setkind_np(3)
- mutex attribute operations (legacy)
- pthread_mutexattr_init(3), pthread_mutexattr_destroy(3), pthread_mutexattr_setprioceiling(3), pthread_mutexattr_getprioceiling(3), pthread_mutexattr_setprotocol(3), pthread_mutexattr_getprotocol(3), pthread_mutexattr_setpshared(3), pthread_mutexattr_getpshared(3), pthread_mutexattr_setrobust(3), pthread_mutexattr_getrobust(3), pthread_mutexattr_settype(3), pthread_mutexattr_gettype(3)
- mutex attribute operations
- pthread_np(3)
- FreeBSD extensions to POSIX thread functions
- pthread_once(3)
- dynamic package initialization
- pthread_resume_all_np(3)
- resume all suspended threads
- pthread_resume_np(3)
- resume suspended thread
- pthread_rwlock_destroy(3)
- destroy a read/write lock
- pthread_rwlock_init(3)
- initialize a read/write lock
- pthread_rwlock_rdlock(3), pthread_rwlock_tryrdlock(3)
- acquire a read/write lock for reading
- pthread_rwlock_timedrdlock(3)
- acquire a read-write lock for reading or give up after a specified period
- pthread_rwlock_timedwrlock(3)
- acquire a read-write lock for writing or give up after a specified period
- pthread_rwlock_unlock(3)
- release a read/write lock
- pthread_rwlock_wrlock(3), pthread_rwlock_trywrlock(3)
- acquire a read/write lock for writing
- pthread_rwlockattr_destroy(3)
- destroy a read/write lock
- pthread_rwlockattr_getpshared(3)
- get the process shared attribute
- pthread_rwlockattr_init(3)
- initialize a read/write lock
- pthread_rwlockattr_setpshared(3)
- set the process shared attribute
- pthread_self(3)
- get the calling thread's ID
- pthread_setcancelstate(3), pthread_setcanceltype(3), pthread_testcancel(3)
- set cancelability state
- pthread_setschedparam(3), pthread_getschedparam(3)
- thread scheduling parameter manipulation
- pthread_setspecific(3)
- set a thread-specific data value
- pthread_sigmask(3)
- examine and/or change a thread's signal mask
- pthread_sigqueue(3)
- queue a signal to a specified thread
- pthread_spin_init(3), pthread_spin_destroy(3)
- initialize or destroy a spin lock
- pthread_spin_lock(3), pthread_spin_trylock(3), pthread_spin_unlock(3)
- lock or unlock a spin lock
- pthread_suspend_all_np(3)
- suspend all active threads
- pthread_suspend_np(3)
- suspend a thread
- pthread_switch_add_np(3), pthread_switch_delete_np(3)
- thread context switches debugging primitives
- pthread_yield(3)
- yield control of the current thread