distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
#include "distortos/internal/synchronization/SemaphoreTryWaitUntilFunctor.hpp"
Public Member Functions | |
constexpr | SemaphoreTryWaitUntilFunctor (const TickClock::time_point timePoint) |
SemaphoreTryWaitUntilFunctor's constructor. More... | |
int | operator() (Semaphore &semaphore) const override |
Calls Semaphore::tryWaitUntil() with bound time point. More... | |
Private Attributes | |
const TickClock::time_point | timePoint_ |
bound time point for Semaphore::tryWaitUntil() call More... | |
SemaphoreTryWaitUntilFunctor class is a SemaphoreFunctor which calls Semaphore::tryWaitUntil() with bound time point
|
inlineexplicit |
SemaphoreTryWaitUntilFunctor's constructor.
[in] | timePoint | is the bound time point for Semaphore::tryWaitUntil() call |
|
override |
Calls Semaphore::tryWaitUntil() with bound time point.
[in] | semaphore | is a reference to Semaphore object for which Semaphore::tryWaitUntil() will be called |
|
private |
bound time point for Semaphore::tryWaitUntil() call