Skip to content

Commit 7385518

Browse files
amgrossMichalPrincNXP
authored andcommitted
Fix typo in semaphore get (mutex -> semaphore), and write it can fail in case of timeout (#446)
1 parent ff97665 commit 7385518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)