pussuw commented on code in PR #16030: URL: https://github.com/apache/nuttx/pull/16030#discussion_r2010651001
########## libs/libc/semaphore/sem_wait.c: ########## @@ -83,7 +83,12 @@ int sem_wait(FAR sem_t *sem) /* Let nxsem_wait() do the real work */ - ret = nxsem_wait(sem); + ret = nxsem_trywait_fast(sem); Review Comment: This is how glibc works as well, so no objections. But this means you need to harmonize all places that use the nxsem_ API. Then again, that's what we want anyway I think.. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org