BALL
1.4.79
|
#include <BALL/SYSTEM/mutex.h>
Public Member Functions | |
TMutex (bool is_recursive=false) | |
This class provides a very thin wrapper around different mutex types. As default, BALL supports QMutex, but if it has been configured with boost::thread support enabled, boost::mutex can also be used. Similarly, we can simply provide instantiations using, e.g, Intel thread building blocks.
A BALL-mutex needs to provide the functions void lock(), void unlock(), and bool tryLock().