MHVLib
20111011
An efficiency oriented runtime library for AVR microcontrollers
|
#include <MHV_Lock.h>
Public Member Functions | |
MHV_Lock () | |
bool | obtain () |
void | release () |
bool | check () |
Definition at line 10 of file MHV_Lock.h.
MHV_Lock::MHV_Lock | ( | ) |
Create a new lock
Definition at line 13 of file MHV_Lock.cpp.
bool MHV_Lock::check | ( | ) |
Check if the lock is currently held
Definition at line 44 of file MHV_Lock.cpp.
bool MHV_Lock::obtain | ( | ) |
Obtain the lock
Definition at line 21 of file MHV_Lock.cpp.
void MHV_Lock::release | ( | ) |
Release the lock
Definition at line 34 of file MHV_Lock.cpp.