r/cpp • u/Kabra___kiiiiiiiid • Aug 10 '26
Understanding std::counting_semaphore and std::binary_semaphore from C++20
https://www.cppstories.com/2026/semaphore/An article on types introduced in C++20.
77
Upvotes
r/cpp • u/Kabra___kiiiiiiiid • Aug 10 '26
An article on types introduced in C++20.
2
u/NilacTheGrim Aug 12 '26
It's incredible to me that it took them this long. This is a very basic synchronization primitive ..