class Mutex
A mutex that can be used to lock sections of code
Example
object
mutex =
new
Mutex();
mutex.lock();
// Critical section
mutex.unlock();
class contents
[
NB. Highlighted attributes are static members
]
Functions
lock
()
- Cause the mutex to lock
unlock
()
- Cause the mutex to unlock
Functions
function
lock
Cause the mutex to lock
Declaration:
function lock()
Description:
The mutex will lock. If it is already locked, the thread of execution will stop until it becomes unlocked.
function
unlock
Cause the mutex to unlock
Declaration:
function unlock()
Automatically generated at
12:08PM, Wednesday 25 May 2005
by
feritedoc
.