commit | 7506274ef2f82799bd548b524189ea2fc29a3bcb | [log] [tgz] |
---|---|---|
author | Chris Friedt <cfriedt@tenstorrent.com> | Sun Apr 21 10:38:28 2024 -0400 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Oct 03 17:07:05 2024 +0100 |
tree | 468c7f8c7ff2b700ab305ba2c32a5eca0f21177f | |
parent | 5a0b1b1628a29e2000ad091807d332c4bb57edb1 [diff] |
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: Chris Friedt <cfriedt@tenstorrent.com>