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
function lock() - Cause the mutex to lock
function unlock() - Cause the mutex to unlock

Functions

function lock Click to go up to the list
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 Click to go up to the list
Cause the mutex to unlock
Declaration:
    function unlock()

Automatically generated at 12:08PM, Wednesday 25 May 2005 by feritedoc.