Skip to content

Commit 923fc99

Browse files
authored
Merge pull request #13317 from evedon/ed-doxygen-abs-time
Fixed doxygen for Kernel::Clock::time_point argument
2 parents 3d0e5a9 + 0dd6b19 commit 923fc99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rtos/include/rtos/Mutex.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ class Mutex : private mbed::NonCopyable<Mutex> {
139139
bool trylock_until(uint64_t millisec);
140140

141141
/** 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
143143
@return true if the mutex was acquired, false otherwise.
144144
@note the underlying RTOS may have a limit to the maximum wait time
145145
due to internal 32-bit computations, but this is guaranteed to work if the

rtos/include/rtos/Semaphore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Semaphore : private mbed::NonCopyable<Semaphore> {
112112
bool try_acquire_until(uint64_t millisec);
113113

114114
/** 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
116116
@return true if a resource was acquired, false otherwise.
117117
@note the underlying RTOS may have a limit to the maximum wait time
118118
due to internal 32-bit computations, but this is guaranteed to work if the

0 commit comments

Comments
 (0)