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. | |
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.
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001