APM:Libraries
|
#include <Semaphores.h>
Public Member Functions | |
Semaphore () | |
bool | give () |
bool | take (uint32_t timeout_ms) |
bool | take_nonblocking () |
Public Member Functions inherited from AP_HAL::Semaphore | |
virtual void | take_blocking () |
virtual | ~Semaphore (void) |
Private Attributes | |
bool | _taken |
Definition at line 5 of file Semaphores.h.
|
inline |
|
virtual |
Implements AP_HAL::Semaphore.
Definition at line 6 of file Semaphores.cpp.
Referenced by Semaphore().
|
virtual |
Implements AP_HAL::Semaphore.
Definition at line 15 of file Semaphores.cpp.
Referenced by Semaphore().
|
virtual |
Implements AP_HAL::Semaphore.
Definition at line 19 of file Semaphores.cpp.
Referenced by Semaphore(), and take().
|
private |
Definition at line 12 of file Semaphores.h.
Referenced by give(), and take_nonblocking().