Skip to content
Commit 2d4874dd authored by Christopher Friedt's avatar Christopher Friedt Committed by Anas Nashif
Browse files

tests: posix: stress test for pthread_create and pthread_join



Recently, a race condition was discovered in `pthread_create()`
and `pthread_join()` that would trigger an assertion in
`kernel/sched.c` of the form below.
```
aborted _current back from dead
```

This was mainly observed in Qemu. Unfortunately, Qemu SMP
platforms exhibit a real and measurable "scheduler noise"
which makes testing rather difficult.

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent 15ea0412
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment