Next:
27.1 Introduction
Up:
Component Libraries
Previous:
26.2.4 svm_protect: control the
27 POSIX Threads:
liboskit_threads.a
27.1 Introduction
27.2 Examples and Caveats
27.3 POSIX Threads Reference
27.3.1
pthread.h
: Thread constants and data structures
27.3.2
pthread_init
: Initialize the threads system
27.3.3
pthread_attr_init
: Initialize a thread attributes object
27.3.4
pthread_attr_setdetachstate
: Set the detach state in a thread attributes object
27.3.5
pthread_attr_setprio
: Set the priority in a thread attributes object
27.3.6
pthread_attr_setstackaddr
: Set the stack address in a thread attributes object
27.3.7
pthread_attr_setguardsize
: Set the stack guard size in a thread attributes object
27.3.8
pthread_attr_setstacksize
: Set the stack size in a thread attributes object
27.3.9
pthread_attr_setschedpolicy
: Set the scheduling policy in a thread attributes object
27.3.10
pthread_mutexattr_init
: Initialize a mutex attributes object
27.3.11
pthread_mutexattr_setprotocol
: Set the protocol attribute of a mutex attributes object
27.3.12
pthread_mutexattr_settype
: Set the type attribute of a mutex attributes object
27.3.13
pthread_condattr_init
: Initialize a condition attributes object
27.3.14
pthread_cancel
: Cancel a running thread
27.3.15
pthread_cleanup_push
: Push a cancellation cleanup handler routine onto the calling thread's cancellation cleanup stack
27.3.16
pthread_setcancelstate
: Set the cancelation state
27.3.17
pthread_setcanceltype
: Set the cancelation type
27.3.18
pthread_testcancel
: Check for a cancelation point
27.3.19
pthread_cond_broadcast
: Wakeup all threads waiting on a condition variable
27.3.20
pthread_cond_destroy
: Destroy a condition variable
27.3.21
pthread_cond_init
: Initialize a condition variable
27.3.22
pthread_cond_signal
: Wakeup one thread waiting on a condition variable
27.3.23
pthread_cond_wait
: Wait on a condition variable
27.3.24
pthread_cond_timedwait
: Wait on a condition variable with timeout
27.3.25
pthread_create
: Create a new thread and start it running
27.3.26
pthread_detach
: Detach a thread from its parent
27.3.27
pthread_exit
: Terminate a thread with status
27.3.28
pthread_join
: Join with a target thread
27.3.29
pthread_key_create
: Create a thread-specific data key
27.3.30
pthread_key_delete
: Delete a thread-specific data key
27.3.31
pthread_setspecific
: Set a thread-specific data value
27.3.32
pthread_getspecific
: Set a thread-specific data value
27.3.33
pthread_mutex_init
: Initialize a mutex object
27.3.34
pthread_mutex_destroy
: Destroy a mutex object
27.3.35
pthread_mutex_lock
: Lock a unlocked mutex object
27.3.36
pthread_mutex_trylock
: Attempt to lock a unlocked mutex object
27.3.37
pthread_mutex_unlock
: Unlock a mutex object
27.3.38
pthread_self
: Return the thread identifier of the current thread
27.3.39
pthread_setschedparam
: Set the scheduling parameters for a thread
27.3.40
pthread_sigmask
: examine and change blocked signals
27.3.41
pthread_kill
: send a signal to a thread
27.3.42
sched_yield
: Yield the processor
27.4 Oskit API Extensions
27.4.1
oskit_pthread_sleep
: Sleep for an interval of time
27.4.2
oskit_pthread_wakeup
: Wakeup a thread in
oskit_pthread_sleep
27.4.3
oskit_pthread_setprio
: Change the priority of a thread
27.4.4
osenv_process_lock
: Lock the process lock
27.4.5
osenv_process_unlock
: Unlock the process lock
27.5 Thread-safe Adaptors
27.5.1
oskit_wrap_socket
: Wrap an
oskit_socket
in a thread-safe adaptor
27.5.2
oskit_wrap_stream
: Wrap an
oskit_stream
in a thread-safe adaptor
27.5.3
oskit_wrap_asyncio
: Wrap an
oskit_asyncio
in a thread-safe adaptor
27.5.4
oskit_wrap_sockio
: Wrap an
oskit_sockio
in a thread-safe adaptor
27.5.5
oskit_wrap_posixio
: Wrap an
oskit_posixio
in a thread-safe adaptor
27.5.6
oskit_wrap_file
: Wrap an
oskit_file
in a thread-safe adaptor
27.5.7
oskit_wrap_dir
: Wrap an
oskit_dir
in a thread-safe adaptor
27.5.8
oskit_wrap_filesystem
: Wrap an
oskit_filesystem
in a thread-safe adaptor
27.5.9
oskit_wrap_openfile
: Wrap an
oskit_openfile
in a thread-safe adaptor
27.5.10
oskit_wrap_blkio
: Wrap an
oskit_blkio
in a thread-safe adaptor
27.5.11
oskit_wrap_absio
: Wrap an
oskit_absio
in a thread-safe adaptor
27.6 InterThread Communication
27.6.1
oskit_ipc_send
: Send a message to another thread
27.6.2
oskit_ipc_recv
: Receive a message from a specific thread
27.6.3
oskit_ipc_wait
: Receive a message from any thread
27.6.4
oskit_ipc_call
: make a synchronous IPC call to another thread
27.6.5
oskit_ipc_reply
: reply to a synchronous IPC invocation
27.7 CPU Inheritance Framework
27.7.1
pthread_sched_become_scheduler
: Become an application level scheduler
27.7.2
pthread_sched_donate_wait_recv
: Donate CPU time to a thread
27.7.3
pthread_sched_message_recv
: Scheduling message receive
27.7.4
pthread_sched_setstate
: Set the scheduling parameters for a thread
27.7.5
pthread_cond_donate_wait
: Timed condition wait with CPU donation
27.7.6
pthread_attr_setscheduler
: Set the scheduler in a thread attributes object
27.7.7
pthread_attr_setopaque
: Set the scheduling parameter in a thread attributes object
27.7.8 Example Schedulers
27.7.9
create_fixedpri_scheduler
: Create a fixed priority scheduler
27.7.10
create_lotto_scheduler
: Create a lottery scheduler
27.7.11
create_stride_scheduler
: Create a Stride scheduler
27.7.12
create_ratemono_scheduler
: Create a Rate Monotonic scheduler
Utah Flux Research Group