#include <mutex.h>
Classes | |
| class | scoped_lock |
| class | try_lock |
Public Member Functions | |
| mutex (const char *) | |
| ~mutex () | |
Private Member Functions | |
| boost::timed_mutex & | boost () |
Private Attributes | |
| boost::timed_mutex * | _m |
On pthread systems, it is an error to destroy a mutex while held. Static global mutexes may be held upon shutdown in our implementation, and this way we avoid destroying them. NOT recursive.
Definition at line 154 of file mutex.h.
| boost::timed_mutex& mongo::mutex::boost | ( | ) | [inline, private] |
boost::timed_mutex* mongo::mutex::_m [private] |