Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
libthread(3LIB)		      Interface	Libraries	       libthread(3LIB)

NAME
       libthread - threads library

SYNOPSIS
       cc -mt [	flag...	] file...  [ library...	]

DESCRIPTION
       Historically,  functions	 in libthread provided threading support. 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 need not  specify
       -lthread.

INTERFACES
       The shared object libthread.so.1	provides the public interfaces defined
       below. See intro(3) for additional information on shared	object	inter-
       faces.

       cond_broadcast		     cond_destroy
       cond_init		     cond_reltimedwait
       cond_signal		     cond_timedwait
       cond_wait		     mutex_destroy
       mutex_init		     mutex_lock
       mutex_trylock		     mutex_unlock
       rw_rdlock		     rw_tryrdlock
       rw_trywrlock		     rw_unlock
       rw_wrlock		     rwlock_destroy
       rwlock_init		     sema_destroy
       sema_init		     sema_post
       sema_trywait		     sema_wait
       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

FILES
       /lib/libthread.so.1		       a filter	on libc.so.1

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

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

       +-----------------------------+-----------------------------+
       |      ATTRIBUTE	TYPE	     |	    ATTRIBUTE VALUE	   |
       +-----------------------------+-----------------------------+
       |Availability		     |SUNWcsl (32-bit)		   |
       +-----------------------------+-----------------------------+
       |			     |SUNWcslx (64-bit)		   |
       +-----------------------------+-----------------------------+
       |MT-Level		     |Safe			   |
       +-----------------------------+-----------------------------+

SEE ALSO
       pvs(1),	    intro(2),	  intro(3),	libc(3LIB),	libc_db(3LIB),
       libpthread(3LIB), attributes(5),	threads(5)

SunOS 5.10			  24 Mar 2004		       libthread(3LIB)

NAME | SYNOPSIS | DESCRIPTION | INTERFACES | FILES | ATTRIBUTES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=libthread&sektion=3lib&manpath=SunOS+5.10>

home | help