jrgfogh / synchronized_value

Example implementation for std::synchronized_value
GNU Lesser General Public License v2.1
25 stars 1 forks source link

Conditional critical sections #14

Open jrgfogh opened 5 months ago

jrgfogh commented 5 months ago

Google's library abseil contains an implementation of "conditional critical sections," which is similar to std::condition_variable, but much harder to misuse.

synchronized should have a similar feature.