C++
C#
VB
JScript
All

Class spin_mutex


Copyright (C) 2005 IENT-RWTH Aachen

Mutex spinning in user space

Remarks

For short waits, spining in user space is faster than sleeping.

Groups

Constructors
Method spin_mutex

Builds an instance of the object

Multithreading Functions
Method acquire

Waits until a lock can be acquired

Method release

Releases the lock

Destructors
Method ~spin_mutex

Destroys the object

See Also

mutex, condition_mutex, scoped_lock