jlaitine commented on code in PR #16194: URL: https://github.com/apache/nuttx/pull/16194#discussion_r2059196216
########## libs/libc/misc/lib_mutex.c: ########## @@ -389,22 +249,17 @@ int nxmutex_clocklock(FAR mutex_t *mutex, clockid_t clockid, /* Wait until we get the lock or until the timeout expires */ - do + if (abstime) Review Comment: Good point. It can, through nxsem_wait_irq. I will block that too in there, the same way as what was done with EINTR. Thanks for pointing that out! (although it is not posix violation here, as nxmutex is not posix, but pthread_mutex functions are directly defined as these....) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
