M
- malloc,
Simple Threads Example
- MAP_NORESERVE,
Allocating Stack Space for Threads
- MAP_SHARED,
Fork-All Model
- mdb(1)
Using mdb
Using mdb
- memory
- consistency,
Working With Multiprocessors
- ordering, relaxed,
Shared-Memory Multiprocessors
- strongly ordered,
Shared-Memory Multiprocessors
- mmap,
Fork-All Model
- mmap(2),
Allocating Stack Space for Threads
- monitor,
Avoiding Deadlock
- monitor, code,
Code Locking
- mprotect,
thr_min_stack Syntax
- MT-Safe libraries
- alternative mmap(2)-based memory allocation library,
MT Safety Levels for Libraries
- C ++ runtime shared objects
- for C++ 4.0 compiler,
MT Safety Levels for Libraries
C++ runtime shared objects
- for C++ 5.0 compiler,
MT Safety Levels for Libraries
C++ standard library
- for Oracle C++ 5.x compilers,
MT Safety Levels for Libraries
classic iostreams
- for C++,
MT Safety Levels for Libraries
math library,
MT Safety Levels for Libraries
- network interfaces of the form getXXbyYY_r,
MT Safety Levels for Libraries
- socket library for making network connections,
MT Safety Levels for Libraries
- space-efficient memory allocation,
MT Safety Levels for Libraries
- thread-safe form of unsafe interfaces,
MT Safety Levels for Libraries
- thread-specific errno support,
MT Safety Levels for Libraries
- X11 Windows routines,
MT Safety Levels for Libraries
- multiple-readers, single-writer locks,
rwlock_destroy Syntax
- multiprocessors,
Working With Multiprocessors
- multithreading, defined,
Multithreading Terms
- mutex, defined,
Multithreading Terms
- mutex, mutual exclusion locks,
Invariants and Locks
- mutex_destroy
- return values,
mutex_destroy Return Values
- syntax,
mutex_destroy Syntax
- mutex_init,
Example of Producer and Consumer Problem
- return values,
mutex_init Return Values
- syntax,
mutex_init(3C) Syntax
- USYNC_THREAD,
Synchronizing Across Process Boundaries
- mutex_lock
- return values,
mutex_lock Return Values
- syntax,
mutex_lock Syntax
- mutex scope,
pthread_mutexattr_setpshared Syntax
- mutex_trylock
- return values,
mutex_trylock Return Values
- syntax,
mutex_trylock Syntax
- mutex type
- PTHREAD_MUTEX_ERRORCHECK,
pthread_mutex_lock Syntax
- PTHREAD_MUTEX_NORMAL,
pthread_mutex_lock Syntax
- PTHREAD_MUTEX_RECUSIVE,
pthread_mutex_lock Syntax
- mutex_unlock,
mutex_unlock Syntax
- return values,
mutex_unlock Return Values
- mutual exclusion locks
Programming with Synchronization Objects
Example of Nested Locking With a Circularly-Linked List
- attributes,
pthread_mutexattr_init Syntax
- deadlock,
Examples of Using Lock Hierarchies
- default attributes,
Mutual Exclusion Lock Attributes
- destroying mutex,
Destroying a Mutex Attribute Object
- destroying mutex state,
Destroying a Mutex
- getting mutex robust attribute,
Getting the Mutex's Robust Attribute
- getting mutex scope,
Getting the Scope of a Mutex
- getting priority ceiling of mutex,
Getting the Mutex's Priority Ceiling
- getting priority ceiling of mutex attribute,
Getting the Mutex Attribute's Priority Ceiling
- getting protocol of mutex attribute,
Getting the Mutex Attribute's Protocol
- initializing,
Initializing a Mutex
- locking,
Locking a Mutex
- making consistent,
Making a Mutex Consistent
- nonblock locking,
Locking a Mutex Without Blocking
- setting mutex robust attribute,
Setting the Mutex's Robust Attribute
- setting priority ceiling of mutex,
Setting the Mutex's Priority Ceiling
- setting priority ceiling of mutex attribute,
pthread_mutexattr_setprioceiling Syntax
- setting protocol of mutex attribute,
Setting the Mutex Attribute's Protocol
- setting type attribute,
pthread_mutexattr_settype Syntax
- unlocking,
Unlocking a Mutex