paludis::TryLock Class Reference
[Threads]
#include <mutex.hh>
List of all members.
|
Basic operations |
| TryLock (Mutex &) |
| ~TryLock () |
Public Member Functions |
bool | operator() () const PALUDIS_ATTRIBUTE((warn_unused_result)) |
Detailed Description
A RAII trylock for a Mutex.
If threading is disabled, locking is a no-op and the try always succeeds.
- Since:
- 0.26
Member Function Documentation
bool paludis::TryLock::operator() |
( |
|
) |
const |
The documentation for this class was generated from the following file:
- /GNOME1/NEU1/P/paludis-0.40.1/paludis/util/mutex.hh
Generated on Mon Sep 21 10:36:11 2009 for paludis by
1.5.4