docs/sched/sched: Add documentation for different sleep interfaces#17423
Conversation
1882cef to
d0ed554
Compare
|
Hi, I saw build fail in xtensa-02), while the error log seems unrelated to this patch(looks like is No space left on device). Is there any way that I can manually retrigger the build process? @michallenc @xiaoxiang781216 |
|
Hi @lupyuen, could you please check what the storage space limit is on GitHub for NuttX? I do not have access to repository options. |
|
@simbit18 NuttX Mirror Repo is failing with the same error: https://github.com/NuttX/nuttx/actions/runs/19887941188/job/56999535032#step:7:242 Maybe there's a problem with the ESP32 Repo? https://github.com/espressif/esp32-wifi-lib.git |
|
@lupyuen Now I will run a test on GitHub |
|
@simbit18 Something odd about the build: It builds OK on my Home Build Farm (at a later timestamp). But fails at the NuttX Mirror Repo (at an earlier timestamp). Wonder why?
|
|
built with make on GitHub |
|
@simbit18 NuttX Mirror Repo builds OK now: https://github.com/NuttX/nuttx/actions/runs/19892799431 |
|
@lupyuen Just for your information, this is the result of df -h on my repository with this configuration. |
|
Hi @lupyuen , it's a space issue! https://github.com/simbit18/nuttx-testing-ci/actions/runs/19902259147/job/57049299454
You can find a possible solution in the
Only Android runtime removed Essentially, I reuse the action to free disk space on Ubuntu runner when when we create our NuttX Docker image. What do you think? |
|
@simbit18 Yep let's try that thanks! |
Fixed error verified in this PR apache#17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>
Fixed error verified in this PR #17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>
|
@Lenoids, we need a rebase. Could you please do it? |
As pull request apache#17200 & apache#17368 introduced support for scheduling sleep, a documentation is needed for different sleep interfaces. This patch adds the description for sleep interfaces currently provided in NuttX, including Scheduled sleep(nxsched_sleep()...), Signal-scheduled sleep(nxsig_sleep()...), and Busy sleep(up_udelay()). Signed-off-by: Haokun Dong <donghaokun@lixiang.com>
This PR is ok, I will use it as a verification test!
Fixed error verified in this PR apache/nuttx#17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>
Fixed error verified in this PR apache/nuttx#17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>
Fixed error verified in this PR apache#17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>
Fixed error verified in this PR #17423 added to the workflow: - Show Disk Space - Free Disk Space (Ubuntu) Only Android runtime removed - Post-build Disk Space We can now monitor disk space. Signed-off-by: simbit18 <simbit18@gmail.com>


Summary
As pull request #17200 & #17368 introduced support for scheduling sleep, a documentation is needed for different sleep interfaces. This patch adds the description for sleep interfaces currently provided in NuttX, including Scheduled sleep(nxsched_sleep()...), Signal-scheduled sleep(nxsig_sleep()...), and Busy sleep(up_udelay()).
Impact
Clarify and make developers easier to understand and choose proper sleep function in NuttX.
Testing
N/A. No impact over the codebase.