-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: kernel.condvar: child thread is not running #42723
Comments
should not be high, this is exact code from the test and all relates to test code and no some incorrect behavior of the implementation. |
this is not related to k_yield, it is the issue of this test design. we could replace k_yield by k_sleep if we really want to run this tests. |
Fix priorities for the test threads to allow execution when test thread yields. Also cleanup some strings. Fixes zephyrproject-rtos#42723 Signed-off-by: Anas Nashif <[email protected]>
Fix priorities for the test threads to allow execution when test thread yields. Also cleanup some strings. Fixes #42723 Signed-off-by: Anas Nashif <[email protected]>
Fix priorities for the test threads to allow execution when test thread yields. Also cleanup some strings. Fixes zephyrproject-rtos#42723 Signed-off-by: Anas Nashif <[email protected]>
Fix priorities for the test threads to allow execution when test thread yields. Also cleanup some strings. Fixes zephyrproject-rtos#42723 Signed-off-by: Anas Nashif <[email protected]>
Describe the bug
The child thread is not actually running, main thread priority is -1, the two child threads have priorities 0 and 1, respectively.
So k_yield() does not cause the child thread to execute.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: