2.1 KiB
2.1 KiB
[thread.general]
32 Concurrency support library [thread]
32.1 General [thread.general]
The following subclauses describe components to create and managethreads, perform mutual exclusion, and communicate conditions and values between threads, as summarized in Table 154.
Table 154 — Concurrency support library summary [tab:thread.summary]
| ð | Subclause | Header |
|---|---|---|
| ð [thread.req] |
Requirements | |
| ð [thread.stoptoken] |
Stop tokens | <stop_token> |
| ð [thread.threads] |
Threads | |
| ð [atomics] |
Atomic operations | , <stdatomic.h> |
| ð [thread.mutex] |
Mutual exclusion | , <shared_mutex> |
| ð [thread.condition] |
Condition variables | <condition_variable> |
| ð [thread.sema] |
Semaphores | |
| ð [thread.coord] |
Coordination types | , |
| ð [futures] |
Futures | |
| ð [saferecl] |
Safe reclamation | , <hazard_pointer> |