xiaoxiang781216 commented on PR #9199:
URL: https://github.com/apache/nuttx/pull/9199#issuecomment-1537414116

   >  Also I need some more time to identify why do we have two version of 
`task_setcanceltype`, one in `libs/libc/sched/task_setcanceltype.c` another in 
`sched/task/task_setcanceltype.c`
   
   The rule to put the source file is very simple:
   
   1. If the function touches any field which belong to kernel space must move 
out of libs
   2. Otherwise, the function should put into libs
   
   task_setcanceltype follow this rule well.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to