Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rtos/include/rtos/Mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Mutex : private mbed::NonCopyable<Mutex> {
bool trylock_until(uint64_t millisec);

/** Try to lock the mutex until specified time
@param abs_time absolute timeout time, referenced to Kernel::get_ms_count()
@param abs_time absolute timeout time, referenced to Kernel::Clock
@return true if the mutex was acquired, false otherwise.
@note the underlying RTOS may have a limit to the maximum wait time
due to internal 32-bit computations, but this is guaranteed to work if the
Expand Down
2 changes: 1 addition & 1 deletion rtos/include/rtos/Semaphore.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Semaphore : private mbed::NonCopyable<Semaphore> {
bool try_acquire_until(uint64_t millisec);

/** Wait until a Semaphore resource becomes available.
@param millisec absolute timeout time, referenced to Kernel::get_ms_count()
@param millisec absolute timeout time, referenced to Kernel::Clock
@return true if a resource was acquired, false otherwise.
@note the underlying RTOS may have a limit to the maximum wait time
due to internal 32-bit computations, but this is guaranteed to work if the
Expand Down