An non-blocking version of writeLock. More...
#include <part.h>
Public Member Functions | |
| bool | acquired () const |
| Have we acquired the desired lock? Returns true if yes, otherwise false. | |
| advisoryLock (const part *tbl, const char *m) | |
| Constructor. | |
| ~advisoryLock () | |
| Destructor. | |
An non-blocking version of writeLock.
The function acquired returns true is the object has acquired a write lock successfully, otherwise the function returns false.
| bool ibis::part::advisoryLock::acquired | ( | ) | const [inline] |
Have we acquired the desired lock? Returns true if yes, otherwise false.
Referenced by ibis::part::freeRIDs().
|
| |