So I'm reading about monitors vs mutexes and finding mentions that suggest that monitors are faster mutexes because they don't lock system wide but rather only across the threads of a given process.
Is there some way in C++ to accomplish or simulate this?
Read more here: https://stackoverflow.com/questions/67016076/how-to-create-a-single-process-mutex-within-c
This content was originally published by mczarnek at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.