28 #ifndef TABLES_TABLELOCK_H 29 #define TABLES_TABLELOCK_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/IO/LockFile.h> static Bool lockingDisabled()
Is table locking disabled (because AIPS_TABLE_NOLOCKING was set)?
The same as above, but the table constructor waits until the lock gets available. ...
LockOption
Define the possible table locking options.
The table is permanently locked.
Bool readLocking() const
Is read locking needed?
LockOption option() const
Get the locking option.
uInt maxWait() const
Get the maximum wait period in AutoLocking mode.
TableLock & operator=(const TableLock &that)
Assignment.
The user is taking care of locking the table by means of the Table functions lock and unlock...
The system takes care of acquiring/releasing locks.
double interval() const
Get the inspection interval.
bool Bool
Define the standard types used by Casacore.
void init()
Set itsOption and itsReadLocking when needed.
Class to hold table lock options.
This is the default locking option.
void merge(const TableLock &that)
Merge that TableLock with this TableLock object by taking the maximum option and minimum inspection i...
The system takes care of acquiring/releasing locks.
Bool isPermanent() const
Is permanent locking used?
Do not do any locking at all.
The user is taking care of locking the table by means of the Table functions lock and unlock...
this file contains all the compiler specific defines
TableLock(LockOption option=DefaultLocking)
Construct with given option and interval.
Bool itsIsDefaultInterval