pussuw commented on code in PR #13518:
URL: https://github.com/apache/nuttx/pull/13518#discussion_r1769527438


##########
syscall/syscall.csv:
##########
@@ -84,6 +84,8 @@
 
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
 "nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char 
*","FAR va_list *"
 "nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct 
stackinfo_s *"
+"nxsched_self","nuttx/sched.h","","FAR struct tcb_s *"

Review Comment:
   Why does userspace know the composition of TCB ?



##########
syscall/syscall.csv:
##########
@@ -84,6 +84,8 @@
 
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
 "nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char 
*","FAR va_list *"
 "nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct 
stackinfo_s *"
+"nxsched_self","nuttx/sched.h","","FAR struct tcb_s *"

Review Comment:
   Why does userspace need to know the composition of TCB ?



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