I created a small wrapper around std::counting_semaphore to use instead of the OS - dependent variants.
The main advantage (besides os-independence) is that it greatly speeds up creation of blocking queues in windows by avoiding the creation calls for OS synchronization.
aachrisg@3c273f5
I created a small wrapper around std::counting_semaphore to use instead of the OS - dependent variants.
The main advantage (besides os-independence) is that it greatly speeds up creation of blocking queues in windows by avoiding the creation calls for OS synchronization.
aachrisg@3c273f5