[v2.7] kernel: thread: race condition between create and join #58362
Labels
area: Kernel
bug
The issue is a bug, or the PR is fixing a bug
LTS
Long term release branch related
priority: medium
Medium impact/importance bug
Stale
Describe the bug
This is a placeholder / duplicate of #58116 specifically for
v2.7-branch
(where the issue was originally discovered)Please also mention any information which could help others to understand
the problem you're facing:
qemu_cortex_a53_smp
(some of us are also usingqemu_riscv64_smp
viatopic-v2.7-riscv
)To Reproduce
Steps to reproduce the behavior:
The error still occurs with
k_thread
s onqemu_cortex_a53_smp
and my cobbled-together backport, it doesn't even make it to testingpthread
s.Expected behavior
creating / joining threads in quick succession (both
k_thread
andpthread
) should work reliably.Impact
Bit of a showstopper for anyone wishing to run high throughput payloads on SMP platforms, unfortunately.
Logs and console output
Environment (please complete the following information):
Additional context
Originally reported in #56163
The text was updated successfully, but these errors were encountered: