pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
Thread
Thread.MutexKey

Thread.MutexKey

Description

Objects of this class are returned by Mutex()->lock() and Mutex()->trylock() . They are also passed as arguments to Condition()->wait() .

As long as they are held, the corresponding mutex will be locked.

The corresponding mutex will be unlocked when the object is destructed (eg by not having any references left).

See also

Mutex , Condition

Module reference for Pike v7.8 release 116, 2008-12-31