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


   > @no1wudi Are you interested in finishing this job? That is, fixing 
on_exit() and atexit() callbacks so that they execute in user mode in all build 
modes? Logically this would be a very similar job: task_startup() and task 
exits would have to be moved to libs/libc and the callbacks would have to be 
re-architected so that the call back function points and parameters lie in TLS 
and the functions are called in some user-space task exit logic.
   
   Another special case, however, are kernel threads.  Currently, they can also 
have on_exit() and atexit() callbacks -- but unlike tasks, these must run in 
supervisor mode.
   
   PS:  I will remove the old feature/pthread_user branch now.  Merging this 
commit obsoletes that branch.
   


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


Reply via email to