Skip to content
Commit d37350bc authored by Christopher Friedt's avatar Christopher Friedt Committed by Carles Cufi
Browse files

tests: posix: pthread: test for pthread descriptor leaks



Add a simple test to ensure that we can create and join a
single thread `CONFIG_MAX_PTHREAD_COUNT` * 2 times. If
there are leaks, then `pthread_create()` should
eventually return `EAGAIN`. If there are no leaks, then
the test should pass.

Fixes #47609

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