|
paludis
Version 1.4.0
|
#include <mutex.hh>
Public Member Functions | |
| bool | operator() () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Basic operations | |
| TryLock (Mutex &) | |
| ~TryLock () | |
A RAII trylock for a Mutex.
If threading is disabled, locking is a no-op and the try always succeeds.
| bool paludis::TryLock::operator() | ( | ) | const |
Did the lock succeed?
1.8.3.1