nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo opened a new pull request #962: sched/sched: Add sched_get_stackinfo()
Date Sun, 03 May 2020 20:18:31 GMT

patacongo opened a new pull request #962:
URL: https://github.com/apache/incubator-nuttx/pull/962


   ## Summary
   
   The new OS interface, sched_get_stackinfo() combines two pthread-specific interfaces into
a single generic interface.  The existing pthread_get_stackaddr_np() and pthread_get_stacksize_np()
are moved from sched/pthread to libs/libc/pthread.
   
   There are two motivations for this change:  First, it reduces the number of system calls.
 Secondly, it adds a common hook that is going to used for a future implementation of TLS.
   
   ## Impact
   
   There should be no user-visible consequence on this change
   
   ## Testing
   
   stm32f103-minimum:nsh
   
   
   


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



Mime
View raw message