Skip to content
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/msgq_api: add k_thread_join after k_thread_abort #83834

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dcpleung
Copy link
Member

On SMP systems, threads going through k_thread_abort() may still be running while the test moves on to the next one. This creates some interferences and may result in the next test failing. So add k_thread_join() after k_thread_abort() to make sure those threads have stopped before moving on.

On SMP systems, threads going through k_thread_abort() may still
be running while the test moves on to the next one. This creates
some interferences and may result in the next test failing. So
add k_thread_join() after k_thread_abort() to make sure those
threads have stopped before moving on.

Signed-off-by: Daniel Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant