NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO
cc -mt [ flag . . . ] file . . . [ library . . . ]
Functions in libthread provide routines that provide threading support.
The shared object libthread.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object interfaces.
| __pthread_cleanup_pop | __pthread_cleanup_push |
| __xpg4_putmsg | __xpg4_putpmsg |
| _getfp | _mutex_held |
| _rw_read_held | _rw_write_held |
| _sema_held | alarm |
| close | cond_broadcast |
| cond_destroy | cond_init |
| cond_reltimedwait | cond_signal |
| cond_timedwait | cond_wait |
| creat | fcntl |
| fork | fork1 |
| fsync | getmsg |
| getpmsg | kill |
| lockf | lwp_self |
| msgrcv | msgsnd |
| msync | mutex_destroy |
| mutex_init | mutex_lock |
| mutex_trylock | mutex_unlock |
| open | pause |
| poll | pread |
| pthread_attr_destroy | pthread_attr_getdetachstate |
| pthread_attr_getguardsize | pthread_attr_getinheritsched |
| pthread_attr_getschedparam | pthread_attr_getschedpolicy |
| pthread_attr_getscope | pthread_attr_getstackaddr |
| pthread_attr_getstacksize | pthread_attr_init |
| pthread_attr_setdetachstate | pthread_attr_setguardsize |
| pthread_attr_setinheritsched | pthread_attr_setschedparam |
| pthread_attr_setschedpolicy | pthread_attr_setscope |
| pthread_attr_setstackaddr | pthread_attr_setstacksize |
| pthread_cancel | pthread_cond_broadcast |
| pthread_cond_destroy | pthread_cond_init |
| pthread_cond_reltimedwait_np | pthread_cond_signal |
| pthread_cond_timedwait | pthread_cond_wait |
| pthread_condattr_destroy | pthread_condattr_getpshared |
| pthread_condattr_init | pthread_condattr_setpshared |
| pthread_create | pthread_detach |
| pthread_equal | pthread_exit |
| pthread_getconcurrency | pthread_getschedparam |
| pthread_getspecific | pthread_join |
| pthread_key_create | pthread_key_delete |
| pthread_kill | pthread_mutex_consistent_np |
| pthread_mutex_destroy | pthread_mutex_getprioceiling |
| pthread_mutex_init | pthread_mutex_lock |
| pthread_mutex_setprioceiling | pthread_mutex_trylock |
| pthread_mutex_unlock | pthread_mutexattr_destroy |
| pthread_mutexattr_getprioceiling | pthread_mutexattr_getprotocol |
| pthread_mutexattr_getpshared | pthread_mutexattr_getrobust_np |
| pthread_mutexattr_gettype | pthread_mutexattr_init |
| pthread_mutexattr_setprioceiling | pthread_mutexattr_setprotocol |
| pthread_mutexattr_setpshared | pthread_mutexattr_setrobust_np |
| pthread_mutexattr_settype | pthread_once |
| pthread_rwlock_destroy | pthread_rwlock_init |
| pthread_rwlock_rdlock | pthread_rwlock_tryrdlock |
| pthread_rwlock_trywrlock | pthread_rwlock_unlock |
| pthread_rwlock_wrlock | pthread_rwlockattr_destroy |
| pthread_rwlockattr_getpshared | pthread_rwlockattr_init |
| pthread_rwlockattr_setpshared | pthread_self |
| pthread_setcancelstate | pthread_setcanceltype |
| pthread_setconcurrency | pthread_setschedparam |
| pthread_setspecific | pthread_sigmask |
| pthread_testcancel | putmsg |
| putpmsg | pwrite |
| read | readv |
| rw_rdlock | rw_tryrdlock |
| rw_trywrlock | rw_unlock |
| rw_wrlock | rwlock_destroy |
| rwlock_init | select |
| sema_destroy | sema_init |
| sema_post | sema_trywait |
| sema_wait | setcontext |
| setitimer | sigaction |
| siglongjmp | sigpause |
| sigpending | sigprocmask |
| sigsetjmp | sigsuspend |
| sigwait | sleep |
| tcdrain | thr_continue |
| thr_create | thr_exit |
| thr_getconcurrency | thr_getprio |
| thr_getspecific | thr_join |
| thr_keycreate | thr_kill |
| thr_main | thr_min_stack |
| thr_self | thr_setconcurrency |
| thr_setprio | thr_setspecific |
| thr_sigsetmask | thr_stksegment |
| thr_suspend | thr_yield |
| usleep | wait |
| wait3 | waitid |
| waitpid | write |
| writev |
|
The following interfaces are unique to the 32-bit version of this library:
| creat64 | lockf64 |
| open64 | pread64 |
| pwrite64 |
|
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|---|---|
| Availability | SUNWcsl (32-bit) |
| SUNWcslx (64-bit) | |
| MT-Level | Safe |
pvs(1), intro(2), intro(3), libpthread(3LIB), libthread_db(3LIB), libthread_db(3THR), threads(3THR), attributes(5)
NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO