in WIN32 ?
https://stackoverflow.com/questions/52757062/posix-like-mutexes-in-win32
For recursive/same stack mutexes, it is relatively easy, yet requires an initialization call on creating a thread, and eventually support for thread-local storage
Обсуждают сегодня