wangchdo commented on code in PR #17222:
URL: https://github.com/apache/nuttx/pull/17222#discussion_r2454721926


##########
include/nuttx/sched.h:
##########
@@ -251,6 +251,7 @@ enum tstate_e
   TSTATE_TASK_RUNNING,        /* READY_TO_RUN - And running */
 
   TSTATE_TASK_INACTIVE,       /* BLOCKED      - Initialized but not yet 
activated */
+  TSTATE_SLEEPING,            /* BLOCKED      - Waiting for wakeup or timeout 
*/
   TSTATE_WAIT_SEM,            /* BLOCKED      - Waiting for a semaphore */
   TSTATE_WAIT_SIG,            /* BLOCKED      - Waiting for a signal */

Review Comment:
   hi @xiaoxiang781216  
   
   I updated this  patch and and chose to `#define TSTATE_SLEEPING  
TSTATE_WAIT_SIG ` 
   
   Do you think this is OK?



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