wangchdo opened a new pull request, #17991: URL: https://github.com/apache/nuttx/pull/17991
## Summary THis PR includes below three updates: 1. update` sleep() `and `usleep()` to use `nxsched_nanosleep()` when all signals are disabled, so when all signals are disabled, sleep function can still be available and ostest can pass 2. remove `pthread_kill() `and `pthread_sigmask()` implementations when all signals are disabled, since these two functions rely on signals 3. remove the altmdm_timer related implementation and API definitions when all signals are disabled, since they rely on signals ## Impact Improve the implementation when all signals are disabled, only impact the functions when all signals are disabled. ## Testing ostest for when all signals are disabled depends on https://github.com/apache/nuttx-apps/pull/3333 **ostest passed on rv-virt:smp64**  ``` NuttShell (NSH) nsh> nsh> nsh> uname -a NuttX 0.0.0 13e8f81f01-dirty Jan 18 2026 22:15:53 risc-v rv-virt nsh> ostest (...) user_main: smp call test smp_call_test: Test start smp_call_test: Call cpu 0, nowait smp_call_test: Call cpu 0, wait smp_call_test: Call cpu 1, nowait smp_call_test: Call cpu 1, wait smp_call_test: Call cpu 2, nowait smp_call_test: Call cpu 2, wait smp_call_test: Call cpu 3, nowait smp_call_test: Call cpu 3, wait smp_call_test: Call cpu 4, nowait smp_call_test: Call cpu 4, wait smp_call_test: Call cpu 5, nowait smp_call_test: Call cpu 5, wait smp_call_test: Call cpu 6, nowait smp_call_test: Call cpu 6, wait smp_call_test: Call cpu 7, nowait smp_call_test: Call cpu 7, wait smp_call_test: Call multi cpu, nowait smp_call_test: Call in interrupt, wait smp_call_test: Call multi cpu, wait smp_call_test: Test success Final memory usage: VARIABLE BEFORE AFTER ======== ======== ======== arena 1fc3780 1fc3780 ordblks 1 6 mxordblk 1fb86d8 1fa2b78 uordblks b0a8 11f20 fordblks 1fb86d8 1fb1860 user_main: Exiting ostest_main: Exiting with status 0 nsh> ``` -- 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]
