[thread.general] (original) (raw)
The following subclauses describe components to create and managethreads, perform mutual exclusion, and communicate conditions and values between threads, as summarized in Table 146.
Table 146: Thread support library summary [tab:thread.summary]
| Subclause | Header | |
|---|---|---|
| [thread.req] | Requirements | |
| [thread.stoptoken] | Stop tokens | <stop_token> |
| [thread.threads] | Threads | <thread> |
| [thread.mutex] | Mutual exclusion | <mutex>, <shared_mutex> |
| [thread.condition] | Condition variables | <condition_variable> |
| [thread.sema] | Semaphores | <semaphore> |
| [thread.coord] | Coordination types | <latch> <barrier> |
| [futures] | Futures | <future> |