pkarashchenko commented on code in PR #8224:
URL: https://github.com/apache/nuttx/pull/8224#discussion_r1087191454


##########
sched/signal/sig_tgkill.c:
##########
@@ -67,14 +65,13 @@
  *
  ****************************************************************************/
 
-int pthread_kill(pthread_t thread, int signo)
+int tgkill(pid_t pid, pid_t tid, int signo)

Review Comment:
   Do we need to add `UNUSED(pid);` or put 
   ```
   #ifdef CONFIG_SCHED_HAVE_PARENT
     if (pid  != (pid_t)-1)
       {
         DEBUGASSERT(pid == rtcb->pid);
       }
   #endif
   ```
   ?



##########
sched/signal/sig_tgkill.c:
##########
@@ -67,14 +65,13 @@
  *
  ****************************************************************************/
 
-int pthread_kill(pthread_t thread, int signo)
+int tgkill(pid_t pid, pid_t tid, int signo)

Review Comment:
   Do we need to add `UNUSED(pid);` or put 
   ```
   #ifdef CONFIG_SCHED_HAVE_PARENT
     if (pid != (pid_t)-1)
       {
         DEBUGASSERT(pid == rtcb->pid);
       }
   #endif
   ```
   ?



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

Reply via email to