Public Member Functions | List of all members
ibis::util::softLock Class Reference

An wrapper class for perform pthread_mutex_trylock/unlock. More...

#include <util.h>

Public Member Functions

bool isLocked () const
 Has a mutex lock being acquired? Returns true if yes, otherwise false. More...
 
 softLock (pthread_mutex_t *lk)
 Constructor.
 
 ~softLock ()
 Destructor.
 

Detailed Description

An wrapper class for perform pthread_mutex_trylock/unlock.

It does not use ibis::util::logMessage.

Member Function Documentation

bool ibis::util::softLock::isLocked ( ) const
inline

Has a mutex lock being acquired? Returns true if yes, otherwise false.


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

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