hujun260 opened a new pull request, #3309:
URL: https://github.com/apache/nuttx-apps/pull/3309

   
   ## Summary
   sighand: need block WAKEUP_SIGNAL in current tcb
   If the main thread receives the signal, the waiter_main will not be awakened.
   
   ## Impact
   sighand
   
   ## Testing
   test in hardware esp32s3-devkit:nsh
   
   nsh> 
   nsh> 
   nsh> ps
     TID   PID  PPID PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK        
    STACK COMMAND
       0     0     0   0 FIFO     Kthread   - Ready              
0000000000000000 0003056 Idle_Task
       1     1     0 100 RR       Task      - Running            
0000000000000000 0003016 nsh_main
   nsh> uname -a
   NuttX 12.12.0 a5fdde65305-dirty Jan 11 2026 17:49:38 xtensa esp32s3-devkit
   nsh> ostest
   stdio_test: write fd=1
   stdio_test: Standard I/O Check: printf
   stdio_test: write fd=2
   stdio_test: Standard I/O Check: fprintf to stderr
   ostest_main: putenv(Variable1=BadValue3)
   ostest_main: setenv(Variable1, GoodValue1, TRUE)
   ostest_main: setenv(Variable2, BadValue1, FALSE)
   ostest_main: setenv(Variable2, GoodValue2, TRUE)
   ostest_main: setenv(Variable3, GoodValue3, FALSE)
   ostest_main: setenv(Variable3, BadValue2, FALSE)
   show_variable: Variable=Variable1 has value=GoodValue1
   show_variable: Variable=Variable2 has value=GoodValue2
   show_variable: Variable=Variable3 has value=GoodValue3
   ostest_main: Started user_main at PID=3
   
   user_main: Begin argument test
   
   


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