Public Member Functions | List of all members
ibis::part::softWriteLock Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

bool ibis::part::softWriteLock::isLocked ( ) const
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().


The documentation for this class was generated from the following files:

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive