Skip to content

Commit cb7aace

Browse files
authored
Fix typo in semaphore get (mutex -> semaphore), and write it can fail in case of timeout (#446)
1 parent 5c2c6b7 commit cb7aace

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

erpc_c/port/erpc_threading.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ class Semaphore
478478
* @param[in] timeoutUsecs Time how long can wait for getting semaphore in [us].
479479
*
480480
* @retval true When semaphore got successfully.
481-
* @retval false When mutex didn't get.
481+
* @retval false When failed getting semaphore or if timeout expired.
482482
*/
483483
bool get(uint32_t timeoutUsecs = kWaitForever);
484484

0 commit comments

Comments
 (0)