How to implement a custom mutex with multiple lock-unlock method?
I’d like to implement a custom mutex different from std::mutex.
I want it have these methods:
How to implement a custom mutex with multiple lock-unlock method?
I’d like to implement a custom mutex different from std::mutex.
I want it have these methods: