mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Update some comments.
This commit is contained in:
@@ -73,6 +73,9 @@ static inline void task_atexit(FAR struct tcb_s *tcb)
|
|||||||
/* Make sure that we have not already left the group. Only the final
|
/* Make sure that we have not already left the group. Only the final
|
||||||
* exiting thread in the task group should trigger the atexit()
|
* exiting thread in the task group should trigger the atexit()
|
||||||
* callbacks.
|
* callbacks.
|
||||||
|
*
|
||||||
|
* REVISIT: This is a security problem In the PROTECTED and KERNEL builds:
|
||||||
|
* We must not call the registered function in supervisor mode!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (group && group->tg_nmembers == 1)
|
if (group && group->tg_nmembers == 1)
|
||||||
@@ -133,6 +136,9 @@ static inline void task_onexit(FAR struct tcb_s *tcb, int status)
|
|||||||
/* Make sure that we have not already left the group. Only the final
|
/* Make sure that we have not already left the group. Only the final
|
||||||
* exiting thread in the task group should trigger the atexit()
|
* exiting thread in the task group should trigger the atexit()
|
||||||
* callbacks.
|
* callbacks.
|
||||||
|
*
|
||||||
|
* REVISIT: This is a security problem In the PROTECTED and KERNEL builds:
|
||||||
|
* We must not call the registered function in supervisor mode!
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (group && group->tg_nmembers == 1)
|
if (group && group->tg_nmembers == 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user