Skip to content
Commit 7506274e authored by Chris Friedt's avatar Chris Friedt Committed by Fabio Baltieri
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 5a0b1b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment