jlaitine commented on code in PR #16334:
URL: https://github.com/apache/nuttx/pull/16334#discussion_r2078906467


##########
libs/libc/signal/sig_raise.c:
##########
@@ -45,5 +45,5 @@
 
 int raise(int signo)
 {
-  return tkill(_SCHED_GETTID(), signo);
+  return tgkill(_SCHED_GETPID(), _SCHED_GETTID(), signo);

Review Comment:
   Having said all that, I don't think that this PR is correct either. "raise" 
should send the signal explicitly only to the calling thread. I need to still 
tinker with this. 
   
   I am currently having some issues with the master branch, there is some 
instability after yesterday or the day before. for example sim:citest sometimes 
just segfaults aready at the start....



-- 
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

Reply via email to