Next:
18.1 Introduction
Up:
Part IV: Component Libraries
Previous:
17.2.4 svm_protect: control the
18 POSIX Threads:
liboskit_threads.a
18.1 Introduction
18.2 Examples and Caveats
18.3 POSIX Threads Reference
18.3.1
pthread.h
: Thread constants and data structures
18.3.2
pthread_init
: Initialize the threads system
18.3.3
pthread_attr_init
: Initialize a thread attributes object
18.3.4
pthread_attr_setdetachstate
: Set the detach state in a thread attributes object
18.3.5
pthread_attr_setprio
: Set the priority in a thread attributes object
18.3.6
pthread_attr_setstackaddr
: Set the stack address in a thread attributes object
18.3.7
pthread_attr_setguardsize
: Set the stack guard size in a thread attributes object
18.3.8
pthread_attr_setstacksize
: Set the stack size in a thread attributes object
18.3.9
pthread_attr_setschedpolicy
: Set the scheduling policy in a thread attributes object
18.3.10
pthread_mutexattr_init
: Initialize a mutex attributes object
18.3.11
pthread_mutexattr_setprotocol
: Set the protocol attribute of a mutex attributes object
18.3.12
pthread_mutexattr_settype
: Set the type attribute of a mutex attributes object
18.3.13
pthread_condattr_init
: Initialize a condition attributes object
18.3.14
pthread_cancel
: Cancel a running thread
18.3.15
pthread_cleanup_push
: Push a cancellation cleanup handler routine onto the calling thread's cancellation cleanup stack
18.3.16
pthread_setcancelstate
: Set the cancelation state
18.3.17
pthread_setcanceltype
: Set the cancelation type
18.3.18
pthread_testcancel
: Check for a cancelation point
18.3.19
pthread_cond_broadcast
: Wakeup all threads waiting on a condition variable
18.3.20
pthread_cond_destroy
: Destroy a condition variable
18.3.21
pthread_cond_init
: Initialize a condition variable
18.3.22
pthread_cond_signal
: Wakeup one thread waiting on a condition variable
18.3.23
pthread_cond_wait
: Wait on a condition variable
18.3.24
pthread_cond_timedwait
: Wait on a condition variable with timeout
18.3.25
pthread_create
: Create a new thread and start it running
18.3.26
pthread_detach
: Detach a thread from its parent
18.3.27
pthread_exit
: Terminate a thread with status
18.3.28
pthread_join
: Join with a target thread
18.3.29
pthread_key_create
: Create a thread-specific data key
18.3.30
pthread_key_delete
: Delete a thread-specific data key
18.3.31
pthread_setspecific
: Set a thread-specific data value
18.3.32
pthread_getspecific
: Set a thread-specific data value
18.3.33
pthread_mutex_init
: Initialize a mutex object
18.3.34
pthread_mutex_destroy
: Destroy a mutex object
18.3.35
pthread_mutex_lock
: Lock a unlocked mutex object
18.3.36
pthread_mutex_trylock
: Attempt to lock a unlocked mutex object
18.3.37
pthread_mutex_unlock
: Unlock a mutex object
18.3.38
pthread_resume
: Resume a suspended thread
18.3.39
pthread_self
: Return the thread identifier of the current thread
18.3.40
pthread_setprio
: Change the priority of a thread
18.3.41
pthread_setschedparam
: Set the scheduling parameters for a thread
18.3.42
pthread_sleep
: Sleep for an interval of time
18.3.43
pthread_suspend
: Suspend a thread
18.3.44
sched_yield
: Yield the processor
18.3.45
osenv_process_lock
: Lock the process lock
18.3.46
osenv_process_unlock
: Unlock the process lock
18.4 Thread-safe Adaptors
18.4.1
oskit_wrap_socket
: Wrap an
oskit_socket
in a thread-safe adaptor
18.4.2
oskit_wrap_stream
: Wrap an
oskit_stream
in a thread-safe adaptor
18.4.3
oskit_wrap_asyncio
: Wrap an
oskit_asyncio
in a thread-safe adaptor
18.4.4
oskit_wrap_sockio
: Wrap an
oskit_sockio
in a thread-safe adaptor
18.4.5
oskit_wrap_posixio
: Wrap an
oskit_posixio
in a thread-safe adaptor
18.4.6
oskit_wrap_file
: Wrap an
oskit_file
in a thread-safe adaptor
18.4.7
oskit_wrap_dir
: Wrap an
oskit_dir
in a thread-safe adaptor
18.4.8
oskit_wrap_filesystem
: Wrap an
oskit_filesystem
in a thread-safe adaptor
18.4.9
oskit_wrap_openfile
: Wrap an
oskit_openfile
in a thread-safe adaptor
18.4.10
oskit_wrap_blkio
: Wrap an
oskit_blkio
in a thread-safe adaptor
18.4.11
oskit_wrap_absio
: Wrap an
oskit_absio
in a thread-safe adaptor
University of Utah Flux Research Group