Skip to content
Commit 96b9d7cb authored by Christopher Friedt's avatar Christopher Friedt Committed by Stephanos Ioannidis
Browse files

lib: posix: pthread_key: use spinlock instead of semaphore



None of the operations that `pthread_key_sem` protected were
blocking, so simply make it a spinlock.

Also made the lock static.

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