Skip to content
Commit 39b8b3ac authored by Christopher Friedt's avatar Christopher Friedt Committed by Christopher Friedt
Browse files

posix: pthread_create: use spinlock for pthread_pool_lock



The `pthread_create()` function is not a cancellation point and
iterating over / mutating `posix_thread_pool` is not a blocking
operation, so use a spinlock for the internal `pthread_pool_lock`.

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