#include <TStaticSync.h>
|
| | Lock () |
| | Default constructor.
|
| |
| | Lock (bool try_lock) |
| | Try constructor.
|
| |
| | Lock (const Mutex &mutex, bool try_lock=false) |
| | Constructor.
|
| |
| | ~Lock () |
| | Destructor.
|
| |
| bool | acquire (bool try_lock=false, const TimeSpec &timeout={}) |
| | Returns true when if it was acquired.
|
| |
| bool | release () |
| |
| | operator bool () const |
| | Returns true if the class was locked. Always true when try_lock is false.
|
| |
◆ Lock() [1/2]
◆ Lock() [2/2]
Try constructor.
- Parameters
-
| try_lock | When true the constructor returns even when not locked. |
The documentation for this class was generated from the following file: