fxysunshine commented on code in PR #2205:
URL: https://github.com/apache/nuttx-apps/pull/2205#discussion_r1406259422


##########
testing/ostest/signest.c:
##########
@@ -295,11 +298,12 @@ void signest_test(void)
 
   /* Start interfering thread  */
 
-  prio++;
-  printf("signest_test: Starting interfering task at priority %d\n", prio);
-  interferepid = task_create("interfere", prio, STACKSIZE,

Review Comment:
   OK. That requires quite a bit of extra work to change with posix_spawn for 
kernel mode. 
   1. some case use many global variables to sync between tasks, but global 
variable is not the same copy between process for kernel mode
   https://github.com/apache/nuttx-apps/blob/master/testing/ostest/signest.c#L56
   2. waitpid to check WEXISTATUS is wrong in kernel mode.
   @xiaoxiang781216 



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