Home You are here: Home > Support > Reference v1.0

Change language: German

XmCriticalSection Class Reference

Inheritance diagram for XmCriticalSection:

XmLock List of all members.

Detailed Description

Ensure the access to a resource by only one thread at a time.

If one thread entered a lock() of a critical section other threads will block on lock() until the critical section will be released by unlock(). Multiple calls to lock() from the same thread will not block.


Public Member Functions

Overridables - XmLock
void lock ()
 Gain the access to a critical section for the calling thread.
void unlock ()
 Release the access to a critical section for the calling thread.

Copyright © 2006 Praetz Software Development - www.exomware.com