apache / apache/nuttx

usleep() blocks when CONFIG_SIM_WALLTIME_SIGNAL is enabled

Open
#6,785 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4k
Forks
1.7k
Avg merge
1d 17h
Merged PRs (30d)
237

Description

In simulator, when `CONFIG_SIM_WALLTIME_SIGNAL` is enabled, any call to `usleep()` blocks indefinitely and never returns.

I have confirmed that the "tick" signal is delivered correctly and that `g_system_timer` is advancing.
However, when the time passes, the sleeping task is never woken-up.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.