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 commented on pull request #957: Add nx_ variant for fs API
Date Sun, 03 May 2020 15:39:22 GMT

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


   @xiaoxiang781216 if you are planning to use TLS, can we please make sure the all fo the
existing TLS is compatible with any new TLS functionality?  We talked about and API to get
the stack base address. Are you planning to use that?
   
   I think we should simplify the system calls in that case.  Currently there are only two
APIs using the stack information, pthread_get_stackaddr_np() and pthread_get_stacksize_np(),
 there are two separate system calls for each.
   
   I think that there should be one system call that provides all of the stack information.
 Stack base, stack size, stack allocation.  Then these (and any new TLS functions) can get
the information using only a signel system call.
   
   


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