Content-type: text/html Man page of libpthread

libpthread

Section: Interface Libraries (3LIB)
Updated: 24 Mar 2004
Index Return to Main Contents
 

NAME

libpthread - POSIX threads library  

SYNOPSIS

cc -mt [ flag... ] file... -lpthread [ -lrt library... ]
 

DESCRIPTION

Historically, functions in this library provided POSIX threading support. See standards(5). This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on libc.so.1. New application development needs to specify -lpthread only to obtain POSIX semantics for fork(2) that assumes the behavior of fork1(2) rather than the default behavior that forks all threads.  

INTERFACES

The shared object libpthread.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.

__pthread_cleanup_pop__pthread_cleanup_push
pthread_attr_destroypthread_attr_getdetachstate
pthread_attr_getguardsizepthread_attr_getinheritsched
pthread_attr_getschedparampthread_attr_getschedpolicy
pthread_attr_getscopepthread_attr_getstackaddr
pthread_attr_getstacksizepthread_attr_init
pthread_attr_setdetachstatepthread_attr_setguardsize
pthread_attr_setinheritschedpthread_attr_setschedparam
pthread_attr_setschedpolicypthread_attr_setscope
pthread_attr_setstackaddrpthread_attr_setstacksize
pthread_cancelpthread_cond_broadcast
pthread_cond_destroypthread_cond_init
pthread_cond_reltimedwait_nppthread_cond_signal
pthread_cond_timedwaitpthread_cond_wait
pthread_condattr_destroypthread_condattr_getpshared
pthread_condattr_initpthread_condattr_setpshared
pthread_createpthread_detach
pthread_equalpthread_exit
pthread_getconcurrencypthread_getschedparam
pthread_getspecificpthread_join
pthread_key_createpthread_key_delete
pthread_killpthread_mutex_consistent_np
pthread_mutex_destroypthread_mutex_getprioceiling
pthread_mutex_initpthread_mutex_lock
pthread_mutex_setprioceilingpthread_mutex_trylock
pthread_mutex_unlockpthread_mutexattr_destroy
pthread_mutexattr_getprioceilingpthread_mutexattr_getprotocol
pthread_mutexattr_getpsharedpthread_mutexattr_getrobust_np
pthread_mutexattr_gettypepthread_mutexattr_init
pthread_mutexattr_setprioceilingpthread_mutexattr_setprotocol
pthread_mutexattr_setpsharedpthread_mutexattr_setrobust_np
pthread_mutexattr_settypepthread_once
pthread_rwlock_destroypthread_rwlock_init
pthread_rwlock_rdlockpthread_rwlock_tryrdlock
pthread_rwlock_trywrlockpthread_rwlock_unlock
pthread_rwlock_wrlockpthread_rwlockattr_destroy
pthread_rwlockattr_getpsharedpthread_rwlockattr_init
pthread_rwlockattr_setpsharedpthread_self
pthread_setcancelstatepthread_setcanceltype
pthread_setconcurrencypthread_setschedparam
pthread_setspecificpthread_sigmask
pthread_testcancel

 

FILES

/lib/libpthread.so.1 a filter on /lib/libc.so.1

/lib/64/libpthread.so.1 a filter on /lib/64/libc.so.1

 

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl (32-bit)
SUNWcslx (64-bit)
MT-LevelSafe

 

SEE ALSO

pvs(1), intro(2), intro(3), libc(3LIB), libc_db(3LIB), libthread(3LIB), attributes(5), standards(5), threads(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
INTERFACES
FILES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:38:41 GMT, October 02, 2010