An non-blocking version of writeLock. More...
#include <part.h>
Public Member Functions | |
bool | isLocked () const |
Have we acquired the desired lock? Returns true if yes, otherwise false. More... | |
softWriteLock (const part *tbl, const char *m) | |
Constructor. | |
~softWriteLock () | |
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.
|
inline |
Have we acquired the desired lock? Returns true if yes, otherwise false.
Referenced by ibis::part::clear(), ibis::part::freeRIDs(), ibis::part::setMeshShape(), ibis::part::updateData(), and ibis::part::updateMetaData().