Talk:cpp/thread/recursive mutex

Can anyone share some good examples, where recursive_mutex might be used?

Munsingh (talk) 02:50, 5 August 2016 (PDT)
 * a Java-esque example would be when you have a class, where every public member function locks a mutex (which would likely be a class member in this setup), and one public member function may end up calling another public member function, directly or indirectly. Would be nice to find an example that is more in C++ spirit, though. --Cubbi (talk) 03:37, 5 August 2016 (PDT)