Files
2025-10-25 03:02:53 +03:00

29 lines
2.1 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[thread.general]
# 32 Concurrency support library [[thread]](./#thread)
## 32.1 General [thread.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/threads.tex#L6)
The following subclauses describe components to create and manage[threads](intro.multithread#def:thread "6.10.2Multi-threaded executions and data races[intro.multithread]"), perform mutual exclusion, and communicate conditions
and values
between threads, as summarized in Table [154](#tab:thread.summary "Table 154: Concurrency support library summary")[.](#1.sentence-1)
Table [154](#tab:thread.summary) — Concurrency support library summary [[tab:thread.summary]](./tab:thread.summary)
| [🔗](#tab:thread.summary-row-1) | **Subclause** | **Header** |
| --- | --- | --- |
| [🔗](#tab:thread.summary-row-2)<br>[[thread.req]](thread.req "32.2Requirements") | Requirements | |
| [🔗](#tab:thread.summary-row-3)<br>[[thread.stoptoken]](thread.stoptoken "32.3Stop tokens") | Stop tokens | <stop_token> |
| [🔗](#tab:thread.summary-row-4)<br>[[thread.threads]](thread.threads "32.4Threads") | Threads | <thread> |
| [🔗](#tab:thread.summary-row-5)<br>[[atomics]](atomics "32.5Atomic operations") | Atomic operations | <atomic>, <stdatomic.h> |
| [🔗](#tab:thread.summary-row-6)<br>[[thread.mutex]](thread.mutex "32.6Mutual exclusion") | Mutual exclusion | <mutex>, <shared_mutex> |
| [🔗](#tab:thread.summary-row-7)<br>[[thread.condition]](thread.condition "32.7Condition variables") | Condition variables | <condition_variable> |
| [🔗](#tab:thread.summary-row-8)<br>[[thread.sema]](thread.sema "32.8Semaphore") | Semaphores | <semaphore> |
| [🔗](#tab:thread.summary-row-9)<br>[[thread.coord]](thread.coord "32.9Coordination types") | Coordination types | <latch>, <barrier> |
| [🔗](#tab:thread.summary-row-10)<br>[[futures]](futures "32.10Futures") | Futures | <future> |
| [🔗](#tab:thread.summary-row-11)<br>[[saferecl]](saferecl "32.11Safe reclamation") | Safe reclamation | <rcu>, <hazard_pointer> |