xiaoxiang781216 commented on code in PR #19116:
URL: https://github.com/apache/nuttx/pull/19116#discussion_r3407477277
##########
libs/libc/pthread/pthread_mutex_consistent.c:
##########
@@ -103,6 +103,7 @@ int pthread_mutex_consistent(FAR pthread_mutex_t *mutex)
* nxsched_get_tcb() does.
*/
+#ifndef CONFIG_DISABLE_ALL_SIGNALS
if (pthread_kill(pid, 0) != 0)
Review Comment:
phtread_kill with zero signal isn't for trigger signal action or wakeup
thread, but check whether the target thread is still live.
so, it' better to make pthread_kill/kill exist to check the thread alive
even with CONFIG_DISABLE_ALL_SIGNALS, so we can keep more functionality in no
signal config.
--
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]