02-12-2019, 05:49 PM
QM does not have classes for semaphores, mutexes and critical sections. In lock by default is used fast code similar to critical sections; or can be used mutex. In this macro I directly used Windows API functions CreateSemaphore, ReleaseSemaphore.