|
| TimedMutex () |
|
| TimedMutex (const TimedMutex &) |
| Can't copy, silently inits to default. More...
|
|
TimedMutex & | operator= (const TimedMutex &) |
| Can't copy, silently does nothing. More...
|
|
void | lock () |
| Acquire the lock. Thread suspends until lock becomes available. More...
|
|
void | unlock () |
| Release the lock. More...
|
|
bool | tryLock () |
| Attempt to acquire the lock, returns immediately. Returns true if the lock was acquired, false otherwise. More...
|
|
bool | tryLock (MonoClock::Duration time) |
| Attempt to acquire the lock for an amount of time. Returns true if the lock was acquired, false if timed out. More...
|
|
bool | tryLock (MonoClock::TimePoint time) |
| Attempt to acquire the lock until a certain time. Returns true if the lock was acquired, false if timed out. More...
|
|
| Mutex ()=default |
|
| Mutex (const Mutex &) |
| Can't copy, silently inits to default. More...
|
|
Mutex & | operator= (const Mutex &) |
| Can't copy, silently does nothing. More...
|
|
void | lock () |
| Acquire the lock. Thread suspends until lock becomes available. More...
|
|
void | unlock () |
| Release the lock. More...
|
|
bool | tryLock () |
| Attempt to acquire the lock, returns immediately. Returns true if the lock was acquired, false otherwise. More...
|
|
Handle & | handle () |
| Get platform handle. More...
|
|
A mutex that has a timed try-lock.