gustavonihei commented on a change in pull request #2518: URL: https://github.com/apache/incubator-nuttx/pull/2518#discussion_r558337841
########## File path: sched/task/task_gettid.c ########## @@ -45,5 +50,42 @@ pid_t gettid(void) { - return getpid(); + FAR struct tcb_s *rtcb; + + /* Get the TCB at the head of the ready-to-run task list. That + * will usually be the currently executing task. There is are two Review comment: ```suggestion * will usually be the currently executing task. There are two ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org