mongo::mutex::try_lock Class Reference
#include <mutex.h>
List of all members.
Public Member Functions |
| try_lock (mongo::mutex &m, int millis=0) |
| ~try_lock () |
Public Attributes |
const bool | ok |
Private Attributes |
boost::timed_mutex::scoped_timed_lock | _l |
Detailed Description
Definition at line 177 of file mutex.h.
Constructor & Destructor Documentation
mongo::mutex::try_lock::try_lock |
( |
mongo::mutex & |
m, |
|
|
int |
millis = 0 | |
|
) |
| | [inline] |
mongo::mutex::try_lock::~try_lock |
( |
|
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: