Sylib
A C++ Library For V5
|
#include <system.hpp>
Public Member Functions | |
bool | take () |
Locks the mutex. More... | |
bool | give () |
Unlocks the mutex. More... | |
This is a wrapper for pros::Mutex if running in a PROS enviroment, and a wrapper for vex::mutex if running in a VEXcode enviroment
bool sylib::Mutex::give | ( | ) |
Unlocks the mutex.
bool sylib::Mutex::take | ( | ) |
Locks the mutex.