JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Multithreaded Programming Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Covering Multithreading Basics

2.  Basic Threads Programming

3.  Thread Attributes

4.  Programming with Synchronization Objects

5.  Programming With the Oracle Solaris Software

6.  Programming With Oracle Solaris Threads

7.  Safe and Unsafe Interfaces

8.  Compiling and Debugging

9.  Programming Guidelines

A.  Extended Example: A Thread Pool Implementation

Index

Numbers and Symbols

A

B

C

D

E

F

G

I

J

K

L

M

N

P

R

S

T

U

V

W

X

S

SA_RESTART, index iconInterrupted Waits on Condition Variables
safety, threads interfaces
index iconSafe and Unsafe Interfaces
index iconUnsafe Libraries
sched_yield, index iconDeadlocks Related to Scheduling
return values, index iconsched_yield Return Values
syntax, index iconsched_yield Syntax
scheduling
classes, index iconThread Scheduling
policies, index iconThread Scheduling
scopes, index iconThread Scheduling
system class, index iconLWPs and Scheduling Classes
scheduling class
fair share scheduler (FSS), index iconFair Share Scheduling
fixed priority scheduler (FX), index iconFixed Priority Scheduling
priority, index iconLWPs and Scheduling Classes
realtime, index iconRealtime Scheduling
timeshare, index iconTimeshare Scheduling
scope, state, index iconThread Scheduling
sem_destroy
return values, index iconsem_destroy Return Values
syntax, index iconsem_destroy Syntax
sem_init
example, index iconProducer and Consumer Problem Using Semaphores
return values, index iconsem_init Return Values
sem_post, index iconSynchronization With Semaphores
example, index iconProducer and Consumer Problem Using Semaphores
return values, index iconsem_post Return Values
syntax, index iconsem_post Syntax
sem_trywait, index iconSynchronization With Semaphores
return values, index iconsem_trywait Return Values
syntax, index iconsem_trywait Syntax
sem_wait, index iconSynchronization With Semaphores
example, index iconProducer and Consumer Problem Using Semaphores
return values, index iconsem_wait Return Values
syntax, index iconsem_wait Syntax
sema_destroy
return values, index iconsema_destroy(3C) Return Values
syntax, index iconsema_destroy(3C) Syntax
sema_init
return values, index iconsema_init Return Values
syntax
index iconsem_init Syntax
index iconsema_init Syntax
USYNC_THREAD, index iconSynchronizing Across Process Boundaries
sema_post, index iconAsync-Signal-Safe Functions in Oracle Solaris Threads
return values, index iconsema_post Return Values
syntax, index iconsema_post Syntax
sema_trywait
return values, index iconsema_trywait Return Values
syntax, index iconsema_trywait Syntax
sema_wait
return values, index iconsema_wait Return Values
syntax, index iconsema_wait Syntax
semaphores
index iconProgramming with Synchronization Objects
index iconSynchronization With Semaphores
index iconComparing Primitives
binary, index iconSynchronization With Semaphores
blocking calling thread, index iconBlocking on a Semaphore Count
counting, index iconSynchronization With Semaphores
counting, defined, index iconMultithreading Terms
decrement semaphore value, index iconSynchronization With Semaphores
decrementing count, index iconDecrementing a Semaphore Count
destroying state, index iconDestroying the Semaphore State
increment semaphore value, index iconSynchronization With Semaphores
incrementing, index iconIncrementing a Semaphore
initializing, index iconInitializing a Semaphore
interprocess, index iconsem_init Syntax
intraprocess, index iconsem_init Syntax
named, index iconNamed and Unnamed Semaphores
unnamed, index iconNamed and Unnamed Semaphores
sending signal to thread, index iconSending a Signal to a Thread
sequential algorithms, index iconParallelizing a Loop on a Shared-Memory Parallel Computer
setjmp
index iconNonlocal Goto: setjmp and longjmp
index iconCompletion Semantics
index iconCompletion Semantics
setting thread-specific key binding, index iconSetting Thread-Specific Data
shared data
index iconUser-Level Threads State
index iconData Locking
shared-memory multiprocessor, index iconShared-Memory Multiprocessors
SIG_DFL, index iconExtending Traditional Signals
SIG_IGN, index iconExtending Traditional Signals
SIG_SETMASK, index iconpthread_sigmask Syntax
sigaction()
index iconExtending Traditional Signals
index iconExtending Traditional Signals
SIGFPE
index iconSynchronous Signals
index iconCompletion Semantics
SIGILL, index iconSynchronous Signals
SIGINT
index iconAsynchronous Signals
index iconThread-Directed Signals
SIGIO, index iconAsynchronous Signals
siglongjmp
index iconCompletion Semantics
index iconCompletion Semantics
index iconCompletion Semantics
signal(), index iconExtending Traditional Signals
signal
handler
index iconExtending Traditional Signals
index iconThread-Directed Signals
signal.h
index iconthr_kill Syntax
index iconthr_sigsetmask Syntax
signals
access mask, index iconAccess the Signal Mask of the Calling Thread
adding to mask, index iconpthread_sigmask Syntax
asynchronous
index iconExtending Traditional Signals
index iconAsynchronous Signals
index iconThread-Directed Signals
deleting from mask, index iconpthread_sigmask Syntax
inheritance, index iconthr_create Syntax
masks, index iconUser-Level Threads State
pending
index iconthr_continue Syntax
index iconthr_create Syntax
replacing current mask, index iconpthread_sigmask Syntax
sending to a thread, index iconSending a Signal to a Specific Thread
sending to thread
index iconSending a Signal to a Thread
index iconSend a Signal to a Thread
SIG_BLOCK, index iconpthread_sigmask Syntax
SIG_SETMASK, index iconpthread_sigmask Syntax
SIG_UNBLOCK, index iconpthread_sigmask Syntax
SIGSEGV, index iconAbout Stacks
synchronous, index iconSynchronous Signals
unmasked and caught, index iconInterrupted Waits on Condition Variables
sigprocmask(), index iconSetting the Thread's Signal Mask
sigqueue(), index iconExtending Traditional Signals
SIGSEGV
index iconAbout Stacks
index iconSynchronous Signals
sigsend(), index iconExtending Traditional Signals
sigsetjmp
index iconCompletion Semantics
index iconCompletion Semantics
sigtimedwait(), index iconWaiting for Specified Signal Within a Given Time
sigwait()
index iconWaiting for a Specified Signal
index iconThread-Directed Signals
sigwait, index iconCompletion Semantics
single-threaded
assumptions, index iconRethinking Global Variables
code, index iconMutual Exclusion Lock Attributes
defined, index iconMultithreading Terms
processes, index iconProcess Creation: exec and exit Issues
singly-linked list, example, index iconExamples of Using Nested Locking With a Singly-Linked List
singly-linked list with nested locking, example, index iconExamples of Using Nested Locking With a Singly-Linked List
size of stack
index iconBuilding Your Own Stack
index iconpthread_attr_setstacksize Syntax
index iconthr_create Syntax
index iconGetting the Minimal Stack Size
spin locks, defined, index iconUsing Spin Locks
spurious wakeup, index iconInterrupted Waits on Condition Variables
stack, index iconCreating and Using Threads
address
index iconpthread_attr_setstack(3C) Syntax
index iconthr_create Syntax
boundaries, index iconAbout Stacks
creation
index iconpthread_attr_setstack(3C) Syntax
index iconthr_create Syntax
custom, index iconthr_min_stack Syntax
deallocation, index iconthr_min_stack Syntax
minimum size, index iconBuilding Your Own Stack
overflows, index iconAllocating Stack Space for Threads
pointer, index iconUser-Level Threads State
programmer-allocated
index iconBuilding Your Own Stack
index iconthr_min_stack Syntax
index iconthr_min_stack Syntax
red zone
index iconAllocating Stack Space for Threads
index iconthr_min_stack Syntax
returning a pointer to, index iconMT Interface Safety Levels
size
index iconBuilding Your Own Stack
index iconpthread_attr_setstacksize Syntax
index iconthr_create Syntax
stack_base
index iconpthread_attr_setstack(3C) Syntax
index iconthr_create Syntax
stack_size
index iconpthread_attr_setstacksize Syntax
index iconthr_create Syntax
stack size
finding minimum, index iconGetting the Minimal Stack Size
minimum
index iconGetting the Minimal Stack Size
index iconthr_min_stack Syntax
standard I/O, index iconAlternatives to getc and putc
standards, UNIX, index iconOracle Solaris Multithreading Libraries and Standards
start_routine(), index iconthr_create Syntax
static storage, index iconRethinking Global Variables
store buffer, index iconPeterson's Algorithm
storing thread key value, index iconthr_getspecific Syntax
streaming a tape drive, index iconAsynchronous I/O
strongly ordered memory, index iconShared-Memory Multiprocessors
suspending a new thread, index iconthr_create Syntax
swap space, index iconAllocating Stack Space for Threads
synchronization objects
condition variables
index iconProgramming with Synchronization Objects
index iconCondition Variable Attributes
index iconProducer and Consumer Problem
mutex locks
index iconProgramming with Synchronization Objects
index iconExample of Nested Locking With a Circularly-Linked List
read-write locks, index iconrwlock_destroy Syntax
semaphores
index iconProgramming with Synchronization Objects
index iconSynchronization With Semaphores
index iconSimilar Synchronization Functions: Semaphores
index iconExample of Producer and Consumer Problem
synchronous I/O, index iconAsynchronous I/O
synchronous I/O, index iconI/O as a Remote Procedure Call
synchronous signals, index iconSynchronous Signals
system calls, handling errors, index iconRethinking Global Variables
system scheduling class, index iconLWPs and Scheduling Classes