![]() |
Home | Libraries | Author | Links |
Definition in file accesslock.h.
Go to the source code of this file.
StmAccessLock Creation and Destruction | |
StmAccessLock | stmAccessLockCreate (void) |
Creation of a new StmAccessLock object. | |
int | stmAccessLockDestroy (StmAccessLock lock) |
Destruction of the StmAccessLock object lock. | |
StmAccessLock Method Functions | |
StmReadOnlyTicket | stmAccessLockTakeReadOnly (StmAccessLock lock) |
Return a StmReadOnlyTicket object granting read access for the resource protected by the StmAccessLock object lock. | |
StmReadOnlyTicket | stmAccessLockTryReadOnly (StmAccessLock lock) |
Try to return a StmReadOnlyTicket object granting read access for the resource protected by the StmAccessLock object lock. | |
StmReadWriteTicket | stmAccessLockConvertReadOnly (StmAccessLock lock, StmReadOnlyTicket ticket) |
Convert the StmReadOnlyTicket object ticket granting read access to the resource protected by the StmAccessLock object lock to a StmReadWriteTicket object granting write access to the resource and return it. | |
int | stmAccessLockGiveReadOnly (StmAccessLock lock, StmReadOnlyTicket ticket) |
Release the StmReadOnlyTicket object ticket granting read access to the resource protected by the StmAccessLock object lock. | |
StmReadWriteTicket | stmAccessLockTakeReadWrite (StmAccessLock lock) |
Return a StmReadWriteTicket object granting write access for the resource protected by the StmAccessLock object lock. | |
StmReadWriteTicket | stmAccessLockTryReadWrite (StmAccessLock lock) |
Try to return a StmReadWriteTicket object granting write access for the resource protected by the StmAccessLock object lock. | |
StmReadOnlyTicket | stmAccessLockConvertReadWrite (StmAccessLock lock, StmReadWriteTicket ticket) |
Convert the StmReadWriteTicket object ticket granting write access to the resource protected by the StmAccessLock object lock to a StmReadOnlyTicket object granting read access to the resource and return it. | |
int | stmAccessLockGiveReadWrite (StmAccessLock lock, StmReadWriteTicket ticket) |
Release the StmReadWriteTicket object ticket granting write access to the resource protected by the StmAccessLock object lock. |
© Copyright Tom Michaelis 2002-2007
Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).