You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/08 08:06:14 UTC

[GitHub] [incubator-nuttx] yamt commented on a change in pull request #3517: arch: Allocate the space from the beginning in up_stack_frame

yamt commented on a change in pull request #3517:
URL: https://github.com/apache/incubator-nuttx/pull/3517#discussion_r647210124



##########
File path: sched/sched/sched_get_stackinfo.c
##########
@@ -69,6 +69,16 @@ int nxsched_get_stackinfo(pid_t pid, FAR struct stackinfo_s *stackinfo)
 
       qtcb = rtcb;
     }
+  else if (pid == -1)
+    {
+      /* We can always query our main thread */

Review comment:
       it seems that it isn't always the case.
   https://github.com/apache/incubator-nuttx/issues/3868
   @xiaoxiang781216 can you take a look?
   




-- 
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:
users@infra.apache.org