ibis::part::advisoryLock Class Reference

An non-blocking version of writeLock. More...

#include <part.h>

List of all members.

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.

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::advisoryLock::acquired (  )  const [inline]

Have we acquired the desired lock? Returns true if yes, otherwise false.

Referenced by ibis::part::freeRIDs().


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

Make It A Bit Faster