Skip to content
Commit 6e66aa1f authored by Chris Friedt's avatar Chris Friedt Committed by Chris Friedt
Browse files

posix: use sys_sem instead of k_spinlock for pool synch



Based on Andy's talk at eoss 2024, use the sys/sem.h api instead
of the spinlock.h api to synchronize pooled elements since it
has minimal overhead like semaphores but also works from
userspace.

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