commit | 6e66aa1f7c15792a4f173355d05f6feb907811e5 | [log] [tgz] |
---|---|---|
author | Chris Friedt <cfriedt@tenstorrent.com> | Sun Apr 21 10:38:28 2024 -0400 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Tue Apr 23 07:01:25 2024 -0400 |
tree | 64985f130d117e4273271dc7bbdcd774976697e9 | |
parent | 36bbd3057ed11e48b664a9f9d399d33339448880 [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>