#include <mutex.h>
Public Member Functions | |
Construction | |
| MutexSection (Mutex *mutex, bool lock_mutex=true) | |
| Constructs a mutex section. More... | |
| ~MutexSection () | |
Attributes | |
| int | get_lock_count () const |
| Returns the amounts of recursive mutex locks performed by this section. More... | |
Operations | |
| void | lock () |
| Lock the mutex. More... | |
| bool | try_lock () |
| Attempt to lock mutex. More... | |
| void | unlock () |
| Unlock mutex. More... | |
Mutex locking helper.