Skip to content
Commit e4239026 authored by Christopher Friedt's avatar Christopher Friedt Committed by Christopher Friedt
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>
(cherry picked from commit d37350bc)
parent 018f836c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment