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/28 12:34:04 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #3951: libc: Move atexit/on_exit to user space

xiaoxiang781216 commented on pull request #3951:
URL: https://github.com/apache/incubator-nuttx/pull/3951#issuecomment-869646039


   > @patacongo @xiaoxiang781216 I've just add a new TLS like structure **task_local_s** to storage all user space data in task_group_s, please take a look, maybe we could move pthread_cleanup & tls destructor and more data into it.
   > 
   > And then save many syscall like tls_get/set xxx since them moved to user space.
   
   It's better to move the pointer from task_group_s to tls_info_s, so all threads in userspace can access this key struct directly without any syscall.


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

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org