Home Libraries Author Links

Abstract Data Type StmReadWriteTicket
[Abstract Data Type StmAccessLock]

Collaboration diagram for Abstract Data Type StmReadWriteTicket:

Detailed Description

A valid StmReadWriteTicket grants read and write access to a resource protected by a valid StmAccessLock object.


A valid StmReadWriteTicket object can be achieved only as non-NULL return value of stmAccessLockTakeReadWrite(), stmAccessLockTryReadWrite() or stmAccessLockConvertReadOnly() and grants write access for the thread having obtained it.

StmReadWriteTicket objects with the value NULL are invalid or undefined.


file  StmReadWriteTicketAdtDoc.h
 Documentation of the abstract structure data type type StmReadWriteTicket.

StmReadWriteTicket Representation

An object of abstract data type StmReadWriteTicket is represented as a pointer to its implementation.

typedef struct
 Type name of implementation structure.
typedef StmReadWriteTicketImpl_StmReadWriteTicket
 Pointer to implementation.
typedef const
 Pointer to constant implementation.

Typedef Documentation

typedef struct StmReadWriteTicketImpl_ StmReadWriteTicketImpl_

Type name of implementation structure.

Definition at line 60 of file StmReadWriteTicketAdtDoc.h.

typedef StmReadWriteTicketImpl_* StmReadWriteTicket

Pointer to implementation.

Definition at line 63 of file StmReadWriteTicketAdtDoc.h.

typedef const StmReadWriteTicketImpl_* ConstStmReadWriteTicket

Pointer to constant implementation.

Definition at line 66 of file StmReadWriteTicketAdtDoc.h.

© Copyright Tom Michaelis 2002-2007

Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).