You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pkarashchenko (via GitHub)" <gi...@apache.org> on 2023/02/13 07:32:54 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8505: sched/pthread: check pthread group after find joininfo

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


##########
sched/pthread/pthread_join.c:
##########
@@ -122,6 +114,8 @@ int pthread_join(pthread_t thread, FAR pthread_addr_t *pexit_value)
     {
       /* Determine what kind of error to return */
 
+      FAR struct tcb_s *tcb = nxsched_get_tcb((pthread_t)thread);

Review Comment:
   Is the type cast correct here?



-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org