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. | |
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.
bool ibis::part::softWriteLock::isLocked | ( | ) | const [inline] |
Have we acquired the desired lock? Returns true if yes, otherwise false.
Referenced by ibis::part::freeRIDs(), ibis::part::setMeshShape(), ibis::part::updateData(), and ibis::part::updateMetaData().
![]() |