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 2020/05/22 23:12:51 UTC

[GitHub] [incubator-nuttx] patacongo commented on pull request #1099: sched/task: add use stack support for kernel thread

patacongo commented on pull request #1099:
URL: https://github.com/apache/incubator-nuttx/pull/1099#issuecomment-632939991


   
   
   
   
   > * ktrhead_init which does all of the setup of thread_create without creating the stack and without calling task_activate. 
   > * kthread_activate which just calls task_activate() with the caller provided stack.
   
   After calling up_usestack() ,of course.
   
   > * thread_create() which just calls kthread_init(), allocates the stack, and calls thread_activate().
   
   Allocating the stack via up_createstack, of course
   
   


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