Concept | Header | Summary |
Threads | <thread> | Standard, low-level, type-safe; |
Futures | <future> | Via async function, hides threading; |
Locks | <mutex> | Standard, low-level locking primitives |
Condition Vars | <condition_variable> | Low-level synchronization primitives |
Atomics | <atomic> | Predictable, concurrent access without data race |
时间: 2024-10-23 04:39:45