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

A simple wrapper on flock. More...

#include <util.h>

Public Member Functions

 flock (int fd)
 Constructor. More...
 
bool isLocked () const
 Was a lock acquired successfully? Returns true for yes, otherwise no. More...
 
 ~flock ()
 Destructor.
 

Detailed Description

A simple wrapper on flock.

Constructor & Destructor Documentation

ibis::util::flock::flock ( int  fd)
inline

Constructor.

Take a file descriptor of type int, created by function open.

Referenced by ~flock().

Member Function Documentation

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

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