pussuw commented on code in PR #16334: URL: https://github.com/apache/nuttx/pull/16334#discussion_r2078253692
########## 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: That is one option, another could be to stash tcb->group->tg_pid into TLS as well. Perhaps put it into struct task_info_s? https://github.com/apache/nuttx/blob/358469e5bbb5e9507777c8c0b563c761213ececd/sched/tls/tls_initinfo.c#L75 -- 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