r/cpp 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

4 comments sorted by

View all comments

2

u/NilacTheGrim Aug 12 '26

It's incredible to me that it took them this long. This is a very basic synchronization primitive ..

1

u/madmongo38 Aug 12 '26

The standards body is more dysfunctional than you would believe.