Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

stdbase::system::platform::NonLock Class Reference

The NonLock implements the required lock (mutex) interface without actually doing anything. More...

List of all members.

Public Methods

 NonLock ()
 ~NonLock ()
void seize ()
 Seizes the mutex.

void release ()
 Releases the mutex.

bool trySeize ()
 Attempts to seize the mutex but returns instead of blocking if the mutex could not be seized immediately.


Detailed Description

The NonLock implements the required lock (mutex) interface without actually doing anything.

This is the lock you use when you're not using a lock (a Clayton's lock :-). This allows platforms that don't support user-mode multi-threading to work.

Which version of the Lock is used is decided by the settings in stdnet/config.h.

Definition at line 56 of file NonLock.


The documentation for this class was generated from the following file:
Generated at Tue Aug 13 14:19:42 2002 for stdnet2 by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001