![]() |
VEXcode IQ C++ Unofficial documentation for version 3.0.4.1
|
Use this class to create and control mutexes. More...
#include <vex_thread.h>
Public Member Functions | |
void | lock () |
Locks the mutex and blocks if the mutex is not available. | |
bool | try_lock () |
Try to lock the mutex and returns if the mutex is not available. | |
void | unlock () |
Unlocks the mutex. | |
Use this class to create and control mutexes.
Definition at line 186 of file vex_thread.h.
bool vex::mutex::try_lock | ( | ) |
Try to lock the mutex and returns if the mutex is not available.