Next:
25.1 Introduction
Up:
Part IV: Component Libraries
Previous:
24.2.4 svm_protect: control the
25 POSIX Threads:
liboskit_threads.a
25.1 Introduction
25.2 Examples and Caveats
25.3 POSIX Threads Reference
25.3.1
pthread.h
: Thread constants and data structures
25.3.2
pthread_init
: Initialize the threads system
25.3.3
pthread_attr_init
: Initialize a thread attributes object
25.3.4
pthread_attr_setdetachstate
: Set the detach state in a thread attributes object
25.3.5
pthread_attr_setprio
: Set the priority in a thread attributes object
25.3.6
pthread_attr_setstackaddr
: Set the stack address in a thread attributes object
25.3.7
pthread_attr_setguardsize
: Set the stack guard size in a thread attributes object
25.3.8
pthread_attr_setstacksize
: Set the stack size in a thread attributes object
25.3.9
pthread_attr_setschedpolicy
: Set the scheduling policy in a thread attributes object
25.3.10
pthread_mutexattr_init
: Initialize a mutex attributes object
25.3.11
pthread_mutexattr_setprotocol
: Set the protocol attribute of a mutex attributes object
25.3.12
pthread_mutexattr_settype
: Set the type attribute of a mutex attributes object
25.3.13
pthread_condattr_init
: Initialize a condition attributes object
25.3.14
pthread_cancel
: Cancel a running thread
25.3.15
pthread_cleanup_push
: Push a cancellation cleanup handler routine onto the calling thread's cancellation cleanup stack
25.3.16
pthread_setcancelstate
: Set the cancelation state
25.3.17
pthread_setcanceltype
: Set the cancelation type
25.3.18
pthread_testcancel
: Check for a cancelation point
25.3.19
pthread_cond_broadcast
: Wakeup all threads waiting on a condition variable
25.3.20
pthread_cond_destroy
: Destroy a condition variable
25.3.21
pthread_cond_init
: Initialize a condition variable
25.3.22
pthread_cond_signal
: Wakeup one thread waiting on a condition variable
25.3.23
pthread_cond_wait
: Wait on a condition variable
25.3.24
pthread_cond_timedwait
: Wait on a condition variable with timeout
25.3.25
pthread_create
: Create a new thread and start it running
25.3.26
pthread_detach
: Detach a thread from its parent
25.3.27
pthread_exit
: Terminate a thread with status
25.3.28
pthread_join
: Join with a target thread
25.3.29
pthread_key_create
: Create a thread-specific data key
25.3.30
pthread_key_delete
: Delete a thread-specific data key
25.3.31
pthread_setspecific
: Set a thread-specific data value
25.3.32
pthread_getspecific
: Set a thread-specific data value
25.3.33
pthread_mutex_init
: Initialize a mutex object
25.3.34
pthread_mutex_destroy
: Destroy a mutex object
25.3.35
pthread_mutex_lock
: Lock a unlocked mutex object
25.3.36
pthread_mutex_trylock
: Attempt to lock a unlocked mutex object
25.3.37
pthread_mutex_unlock
: Unlock a mutex object
25.3.38
pthread_resume
: Resume a suspended thread
25.3.39
pthread_self
: Return the thread identifier of the current thread
25.3.40
pthread_setprio
: Change the priority of a thread
25.3.41
pthread_setschedparam
: Set the scheduling parameters for a thread
25.3.42
pthread_sigmask
: examine and change blocked signals
25.3.43
pthread_kill
: send a signal to a thread
25.3.44
pthread_sleep
: Sleep for an interval of time
25.3.45
pthread_suspend
: Suspend a thread
25.3.46
sched_yield
: Yield the processor
25.3.47
osenv_process_lock
: Lock the process lock
25.3.48
osenv_process_unlock
: Unlock the process lock
25.4 Thread-safe Adaptors
25.4.1
oskit_wrap_socket
: Wrap an
oskit_socket
in a thread-safe adaptor
25.4.2
oskit_wrap_stream
: Wrap an
oskit_stream
in a thread-safe adaptor
25.4.3
oskit_wrap_asyncio
: Wrap an
oskit_asyncio
in a thread-safe adaptor
25.4.4
oskit_wrap_sockio
: Wrap an
oskit_sockio
in a thread-safe adaptor
25.4.5
oskit_wrap_posixio
: Wrap an
oskit_posixio
in a thread-safe adaptor
25.4.6
oskit_wrap_file
: Wrap an
oskit_file
in a thread-safe adaptor
25.4.7
oskit_wrap_dir
: Wrap an
oskit_dir
in a thread-safe adaptor
25.4.8
oskit_wrap_filesystem
: Wrap an
oskit_filesystem
in a thread-safe adaptor
25.4.9
oskit_wrap_openfile
: Wrap an
oskit_openfile
in a thread-safe adaptor
25.4.10
oskit_wrap_blkio
: Wrap an
oskit_blkio
in a thread-safe adaptor
25.4.11
oskit_wrap_absio
: Wrap an
oskit_absio
in a thread-safe adaptor
25.5 InterThread Communication
25.5.1
oskit_ipc_send
: Send a message to another thread
25.5.2
oskit_ipc_recv
: Receive a message from a specific thread
25.5.3
oskit_ipc_wait
: Receive a message from any thread
25.5.4
oskit_ipc_call
: make a synchronous IPC call to another thread
25.5.5
oskit_ipc_reply
: reply to a synchronous IPC invocation
25.6 CPU Inheritance Framework
25.6.1
pthread_sched_become_scheduler
: Become an application level scheduler
25.6.2
pthread_sched_donate_wait_recv
: Donate CPU time to a thread
25.6.3
pthread_sched_message_recv
: Scheduling message receive
25.6.4
pthread_sched_setstate
: Set the scheduling parameters for a thread
25.6.5
pthread_cond_donate_wait
: Timed condition wait with CPU donation
25.6.6
pthread_attr_setscheduler
: Set the scheduler in a thread attributes object
25.6.7
pthread_attr_setopaque
: Set the scheduling parameter in a thread attributes object
25.6.8 Example Schedulers
25.6.9
create_fixedpri_scheduler
: Create a fixed priority scheduler
25.6.10
create_lotto_scheduler
: Create a lottery scheduler
25.6.11
create_stride_scheduler
: Create a Stride scheduler
25.6.12
create_ratemono_scheduler
: Create a Rate Monotonic scheduler
Utah Flux Research Group