|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This class provides exceptions safe system DB locking.
NB. The locking mechanism is NOT garuanteed to
be recursive, so you can't call ReadLock twice then Unlock twice.
You also can't go directly between a read lock to a write lock
just by calling SysDBWriteLock(), you have to Unlock the ReadLock
first.
Variables:
- int lockId;
-
- BooleanT held;
-
True if lock is held.
Methods:
- SysDBReadLockC(int nlockId = 0)
-
- ~SysDBReadLockC()
-
Construct lock.
- void Unlock()
-
Unlock.
- void Lock()
-
Relock for reading.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|