1 LIBPTHREAD(3LIB)              Interface Libraries             LIBPTHREAD(3LIB)
   2 
   3 
   4 
   5 NAME
   6        libpthread - POSIX threads library
   7 
   8 SYNOPSIS
   9        cc -mt [ flag... ] file... -lpthread [ library... ]
  10 
  11 
  12 DESCRIPTION
  13        Historically, functions in this library provided POSIX threading
  14        support. See standards(5). This functionality now resides in
  15        libc(3LIB).
  16 
  17        This library is maintained to provide backward compatibility for both
  18        runtime and compilation environments. The shared object is implemented
  19        as a filter on libc.so.1. New application development need not specify
  20        -lpthread although doing so has no effect.
  21 
  22 INTERFACES
  23        The shared object libpthread.so.1 provides the public interfaces
  24        defined below. See Intro(3) for additional information on shared object
  25        interfaces.
  26 
  27 
  28 
  29 
  30        __pthread_cleanup_pop              __pthread_cleanup_push
  31        pthread_attr_destroy               pthread_attr_getdetachstate
  32        pthread_attr_getguardsize          pthread_attr_getinheritsched
  33        pthread_attr_getschedparam         pthread_attr_getschedpolicy
  34        pthread_attr_getscope              pthread_attr_getstackaddr
  35        pthread_attr_getstacksize          pthread_attr_init
  36        pthread_attr_setdetachstate        pthread_attr_setguardsize
  37        pthread_attr_setinheritsched       pthread_attr_setschedparam
  38        pthread_attr_setschedpolicy        pthread_attr_setscope
  39        pthread_attr_setstackaddr          pthread_attr_setstacksize
  40        pthread_cancel                     pthread_cond_broadcast
  41        pthread_cond_destroy               pthread_cond_init
  42        pthread_cond_reltimedwait_np       pthread_cond_signal
  43        pthread_cond_timedwait             pthread_cond_wait
  44        pthread_condattr_destroy           pthread_condattr_getpshared
  45        pthread_condattr_init              pthread_condattr_setpshared
  46        pthread_create                     pthread_detach
  47        pthread_equal                      pthread_exit
  48        pthread_getconcurrency             pthread_getschedparam
  49        pthread_getspecific                pthread_join
  50        pthread_key_create                 pthread_key_delete
  51        pthread_kill                       pthread_mutex_consistent_np
  52        pthread_mutex_destroy              pthread_mutex_getprioceiling
  53        pthread_mutex_init                 pthread_mutex_lock
  54        pthread_mutex_setprioceiling       pthread_mutex_trylock
  55        pthread_mutex_unlock               pthread_mutexattr_destroy
  56        pthread_mutexattr_getprioceiling   pthread_mutexattr_getprotocol
  57        pthread_mutexattr_getpshared       pthread_mutexattr_getrobust_np
  58        pthread_mutexattr_gettype          pthread_mutexattr_init
  59        pthread_mutexattr_setprioceiling   pthread_mutexattr_setprotocol
  60        pthread_mutexattr_setpshared       pthread_mutexattr_setrobust_np
  61        pthread_mutexattr_settype          pthread_once
  62        pthread_rwlock_destroy             pthread_rwlock_init
  63        pthread_rwlock_rdlock              pthread_rwlock_tryrdlock
  64        pthread_rwlock_trywrlock           pthread_rwlock_unlock
  65        pthread_rwlock_wrlock              pthread_rwlockattr_destroy
  66        pthread_rwlockattr_getpshared      pthread_rwlockattr_init
  67        pthread_rwlockattr_setpshared      pthread_self
  68        pthread_setcancelstate             pthread_setcanceltype
  69        pthread_setconcurrency             pthread_setschedparam
  70        pthread_setspecific                pthread_sigmask
  71        pthread_testcancel
  72 
  73 
  74 FILES
  75        /lib/libpthread.so.1
  76                                   a filter on /lib/libc.so.1
  77 
  78 
  79        /lib/64/libpthread.so.1
  80                                   a filter on /lib/64/libc.so.1
  81 
  82 
  83 ATTRIBUTES
  84        See attributes(5) for descriptions of the following attributes:
  85 
  86 
  87 
  88 
  89        +---------------+-----------------+
  90        |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
  91        +---------------+-----------------+
  92        |MT-Level       | Safe            |
  93        +---------------+-----------------+
  94 
  95 SEE ALSO
  96        pvs(1), Intro(2), Intro(3), libc(3LIB), libc_db(3LIB), libthread(3LIB),
  97        attributes(5), standards(5), threads(5)
  98 
  99 
 100 
 101                                 August 19, 2019               LIBPTHREAD(3LIB)