Threads & mutexes
std::thread, mutexes, condition variables, locks, timeouts, thread safety guarantees for the library.
Connected features
Papers
13 · Kona 2007 → Madrid 2011Adds std::thread, mutexes, condition variables, locks and call_once. Report prints the reference as 'D4297=08-0007'; 08-0007 is N2497 (2008-01-07, Hinnant/Crowl/Dawes/Williams/Garland et al.), confirmed via the 2008 index. Added under the Kona empowerment of the threading drafting/review committee (Bellevue minutes N2592 sec. 1.10)..
Specifies the library's thread-safety guarantees (the container data-race rules). Library paper.
Specifies error handling (system_error) for the thread library. Library paper.
Requires basic_string to avoid data races (effectively banning copy-on-write). Library paper.
Specifies thread safety for the I/O library (synchronized stdio streams). Library paper.
Small revisions to the library thread-safety wording. Library paper.
Makes a joinable std::thread terminate in its destructor rather than detach. 'Alternative 2' only.
Lists the C functions the library does not require to be thread-safe.
Resolves assorted thread library issues.
Clarifies thread_local variable destruction for detached threads.
Specifies timeouts and the clocks used by timed waits.
Introduces the Lockable / TimedLockable requirements.
Batch of concurrency issue resolutions for Madrid. Minutes: LWG issues 964, 1364, 1457, 1460, 1502, 1507, 1515, 1526, 2023, 2024, 2025, 2034, 2037; NB comments CH-1, US-2, CH-19, GB-130, US-154, US-195, US-196, US-197, US-199, US-208, GB-111; editorial changes for core issues 1176, 1177.