Add Semaphore Chrono stubs

pull/12430/head
Kevin Bracey 2020-05-08 17:19:02 +03:00
parent 3b7eae1109
commit ee88235e69
1 changed files with 10 additions and 0 deletions

View File

@ -53,11 +53,21 @@ bool Semaphore::try_acquire_for(uint32_t millisec)
return Semaphore_stub::acquire_return_value;
}
bool Semaphore::try_acquire_for(Kernel::Clock::duration_u32 rel_time)
{
return Semaphore_stub::acquire_return_value;
}
bool Semaphore::try_acquire_until(uint64_t millisec)
{
return Semaphore_stub::acquire_return_value;
}
bool Semaphore::try_acquire_until(Kernel::Clock::time_point abs_time)
{
return Semaphore_stub::acquire_return_value;
}
osStatus Semaphore::release(void)
{
return 0;