File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ class Mutex : private mbed::NonCopyable<Mutex> {
139
139
bool trylock_until (uint64_t millisec);
140
140
141
141
/* * Try to lock the mutex until specified time
142
- @param abs_time absolute timeout time, referenced to Kernel::get_ms_count()
142
+ @param abs_time absolute timeout time, referenced to Kernel::Clock
143
143
@return true if the mutex was acquired, false otherwise.
144
144
@note the underlying RTOS may have a limit to the maximum wait time
145
145
due to internal 32-bit computations, but this is guaranteed to work if the
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ class Semaphore : private mbed::NonCopyable<Semaphore> {
112
112
bool try_acquire_until (uint64_t millisec);
113
113
114
114
/* * Wait until a Semaphore resource becomes available.
115
- @param millisec absolute timeout time, referenced to Kernel::get_ms_count()
115
+ @param millisec absolute timeout time, referenced to Kernel::Clock
116
116
@return true if a resource was acquired, false otherwise.
117
117
@note the underlying RTOS may have a limit to the maximum wait time
118
118
due to internal 32-bit computations, but this is guaranteed to work if the
You can’t perform that action at this time.
0 commit comments