Namespaces
Variants
Views
Actions

Thread support library [[:Template:mark c++0x]]

From cppreference.com
< cpp
Revision as of 12:37, 16 July 2011 by P12 (Talk | contribs)

Template:cpp/thread/sidebar

Contents

Threads

Threads enable the program to execute across several processor cores.

Template:cpp/thread/dcl list threadTemplate:cpp/thread/dcl list yieldTemplate:cpp/thread/dcl list get idTemplate:cpp/thread/dcl list sleep forTemplate:cpp/thread/dcl list sleep until
Defined in header <thread>
Functions managing current thread
Defined in namespace this_thread

Mutual exclusion

Mutual exclusion algorithms restrict access to a shared resource so that only one thread can access it at a time. This allows to avoid data races and to implement synchronization between threads.

Template:cpp/thread/dcl list mutexTemplate:cpp/thread/dcl list recursive mutexTemplate:cpp/thread/dcl list timed mutexTemplate:cpp/thread/dcl list recursive timed mutexTemplate:cpp/thread/dcl list lock guardTemplate:cpp/thread/dcl list unique lockTemplate:cpp/thread/dcl list try lockTemplate:cpp/thread/dcl list lock
Defined in header <mutex>
Generic mutex management
Generic locking algorithms

Condition variables

Futures