28 #ifndef CASA_FILELOCKER_H 29 #define CASA_FILELOCKER_H 33 #include <casacore/casa/aips.h>
Bool itsReadLocked
temporary for SUSE 6.1
Bool release()
Release a lock.
Class to handle file locking.
LatticeExprNode length(const LatticeExprNode &expr, const LatticeExprNode &axis)
2-argument function to get the length of an axis.
String lastMessage() const
Get the message belonging to the last error.
bool Bool
Define the standard types used by Casacore.
Bool hasLock(LockType=Write) const
Test if the process has a lock for read or write on the file.
Bool canLock(LockType=Write)
Test if the file can be locked for read or write.
FileLocker()
Default constructor creates an invalid fd.
String: the storage and methods of handling collections of characters.
int lastError() const
Get the last error.
LockType
Define the possible lock types.
int fd() const
Get the fd in use.
this file contains all the compiler specific defines
Bool acquire(LockType=Write, uInt nattempts=0)
Acquire a write or read lock.