Next:
19.1 Introduction
Up:
Part IV: Component Libraries
Previous:
18.2.4 svm_protect: control the
19 POSIX Threads:
liboskit_threads.a
19.1 Introduction
19.2 Examples and Caveats
19.3 POSIX Threads Reference
19.3.1
pthread.h
: Thread constants and data structures
19.3.2
pthread_init
: Initialize the threads system
19.3.3
pthread_attr_init
: Initialize a thread attributes object
19.3.4
pthread_attr_setdetachstate
: Set the detach state in a thread attributes object
19.3.5
pthread_attr_setprio
: Set the priority in a thread attributes object
19.3.6
pthread_attr_setstackaddr
: Set the stack address in a thread attributes object
19.3.7
pthread_attr_setguardsize
: Set the stack guard size in a thread attributes object
19.3.8
pthread_attr_setstacksize
: Set the stack size in a thread attributes object
19.3.9
pthread_attr_setschedpolicy
: Set the scheduling policy in a thread attributes object
19.3.10
pthread_mutexattr_init
: Initialize a mutex attributes object
19.3.11
pthread_mutexattr_setprotocol
: Set the protocol attribute of a mutex attributes object
19.3.12
pthread_mutexattr_settype
: Set the type attribute of a mutex attributes object
19.3.13
pthread_condattr_init
: Initialize a condition attributes object
19.3.14
pthread_cancel
: Cancel a running thread
19.3.15
pthread_cleanup_push
: Push a cancellation cleanup handler routine onto the calling thread's cancellation cleanup stack
19.3.16
pthread_setcancelstate
: Set the cancelation state
19.3.17
pthread_setcanceltype
: Set the cancelation type
19.3.18
pthread_testcancel
: Check for a cancelation point
19.3.19
pthread_cond_broadcast
: Wakeup all threads waiting on a condition variable
19.3.20
pthread_cond_destroy
: Destroy a condition variable
19.3.21
pthread_cond_init
: Initialize a condition variable
19.3.22
pthread_cond_signal
: Wakeup one thread waiting on a condition variable
19.3.23
pthread_cond_wait
: Wait on a condition variable
19.3.24
pthread_cond_timedwait
: Wait on a condition variable with timeout
19.3.25
pthread_create
: Create a new thread and start it running
19.3.26
pthread_detach
: Detach a thread from its parent
19.3.27
pthread_exit
: Terminate a thread with status
19.3.28
pthread_join
: Join with a target thread
19.3.29
pthread_key_create
: Create a thread-specific data key
19.3.30
pthread_key_delete
: Delete a thread-specific data key
19.3.31
pthread_setspecific
: Set a thread-specific data value
19.3.32
pthread_getspecific
: Set a thread-specific data value
19.3.33
pthread_mutex_init
: Initialize a mutex object
19.3.34
pthread_mutex_destroy
: Destroy a mutex object
19.3.35
pthread_mutex_lock
: Lock a unlocked mutex object
19.3.36
pthread_mutex_trylock
: Attempt to lock a unlocked mutex object
19.3.37
pthread_mutex_unlock
: Unlock a mutex object
19.3.38
pthread_resume
: Resume a suspended thread
19.3.39
pthread_self
: Return the thread identifier of the current thread
19.3.40
pthread_setprio
: Change the priority of a thread
19.3.41
pthread_setschedparam
: Set the scheduling parameters for a thread
19.3.42
pthread_sleep
: Sleep for an interval of time
19.3.43
pthread_suspend
: Suspend a thread
19.3.44
sched_yield
: Yield the processor
19.3.45
osenv_process_lock
: Lock the process lock
19.3.46
osenv_process_unlock
: Unlock the process lock
19.4 Thread-safe Adaptors
19.4.1
oskit_wrap_socket
: Wrap an
oskit_socket
in a thread-safe adaptor
19.4.2
oskit_wrap_stream
: Wrap an
oskit_stream
in a thread-safe adaptor
19.4.3
oskit_wrap_asyncio
: Wrap an
oskit_asyncio
in a thread-safe adaptor
19.4.4
oskit_wrap_sockio
: Wrap an
oskit_sockio
in a thread-safe adaptor
19.4.5
oskit_wrap_posixio
: Wrap an
oskit_posixio
in a thread-safe adaptor
19.4.6
oskit_wrap_file
: Wrap an
oskit_file
in a thread-safe adaptor
19.4.7
oskit_wrap_dir
: Wrap an
oskit_dir
in a thread-safe adaptor
19.4.8
oskit_wrap_filesystem
: Wrap an
oskit_filesystem
in a thread-safe adaptor
19.4.9
oskit_wrap_openfile
: Wrap an
oskit_openfile
in a thread-safe adaptor
19.4.10
oskit_wrap_blkio
: Wrap an
oskit_blkio
in a thread-safe adaptor
19.4.11
oskit_wrap_absio
: Wrap an
oskit_absio
in a thread-safe adaptor
19.5 InterThread Communication
19.5.1
oskit_ipc_send
: Send a message to another thread
19.5.2
oskit_ipc_recv
: Receive a message from a specific thread
19.5.3
oskit_ipc_wait
: Receive a message from any thread
19.5.4
oskit_ipc_call
: make a synchronous IPC call to another thread
19.5.5
oskit_ipc_reply
: reply to a synchronous IPC invocation
Utah Flux Research Group