Content-type: text/html
Manpage of RTLockless
RTLockless
Section: Chronolytix (3)
Updated: 2005-07-07
Index
Return to Main Contents
NAME
RTLockless - Chronolytix Lockless Data Synchronization Class
SYNOPSYS
#include <RTLockless.h>
RTLockless *RTLockless_Constructor(RTClockMicroSecs usec_response , int fatal);
void RTLockless_Assert(RTLockless *llp);
RTEventQueue RTLockless_EventQueue(RTLockless *llp);
DESCRIPTION
RTLockless
is the Chronolytix class which allows the construction of safely synchronized reactive access to shared class data/members without the requiring explicit mutexes and the other locking hierarchy baggage. An RTLockless class instance is constructed with a reactive response. All data accessors and class members that rquire synchronization must be run from RTReactiveResponse associated with the RTLockless instance. If the constructor argument
fatal
is non-zero, then any detected violation of the locking policy causes a system fail shutdown. Otherwise, a unsynchronized access warning is logged.
The
RTLockless_EventQueue
is used to bind RTReactiveTasks to the RTReactiveResponse being used by the RTLockless instance.
It is recommended that all "external" data accessors call
RTLockless_Assert.
This function with fail if the caller is violating the lockless contract.
RTLockless is currently loaded with RTReactiveResponse.
MAGIC
RTLockless
SEE ALSO
RTReactiveResponse(Chronolytix),
RTReactiveTask(Chronolytix),
RTEvent(Chronolytix)
RTLog(Chronolytix),
RTFatal(Chronolytix),
Index
- NAME
-
- SYNOPSYS
-
- DESCRIPTION
-
- MAGIC
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:47:49 GMT, November 23, 2005