Public Member Functions
ibis::fileManager::softWriteLock Class Reference

A soft write lock for controlling access to the two internal lists. More...

#include <fileManager.h>

List of all members.

Public Member Functions

bool isLocked () const
 Has a write lock be acquired? Returns true or false to indicate yes or no.
 softWriteLock (const char *m)
 Constructor.
 ~softWriteLock ()
 Destructor.

Detailed Description

A soft write lock for controlling access to the two internal lists.


Constructor & Destructor Documentation

Constructor.

It attempts to acquire the lock and records whether a write lock was acquired as a boolean variable. The function isLocked returns whether the lock has been acquired.

References ibis::gVerbose, and ibis::fileManager::instance().


Member Function Documentation

Has a write lock be acquired? Returns true or false to indicate yes or no.

Referenced by ibis::fileManager::clear().


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