apache / apache/nuttx-apps

ostest RR scheduler testing

Open
#1,989 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
465
Forks
779
Avg merge
2d 9h
Merged PRs (30d)
36

Description

I have a question about RR scheduler

https://github.com/apache/nuttx-apps/blob/d73e6412b7d8453b25c91f324c81d88f8abbcd51/testing/ostest/roundrobin.c#L227
The comment shows thread_1 and thread_2 should start and complete at about the same time.
But I did not see any assert condition about it.

Is it needed to modify or it is correct?
I try to add some assert to this problem at
https://github.com/TaiJuWu/nuttx-apps/blob/30038063e2b9958202118d4b4c3724eec7069622/testing/ostest/roundrobin.c#L254
Im not sure it's useful and is this method great?
If anyone can give me some suggestion, I will be very grateful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.