commit | 3c6fdf27d0d1ba45a3d1792de4953fba47480cee | [log] [tgz] |
---|---|---|
author | Chris Friedt <cfriedt@tenstorrent.com> | Sun Apr 21 09:48:24 2024 -0400 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Tue Apr 23 07:01:25 2024 -0400 |
tree | 2aaf170dbcffd9da830aabb7da92a777a00cb7e5 | |
parent | 909ad8170c7feaae8c03ae3bc4aeafaed37d2cfa [diff] |
sys_sem: add a for-loop-like macro similar to spinlocks Add SYS_SEM_LOCK() and SYS_SEM_LOCK_BREAK which are mostly the same as K_SPINLOCK() and K_SPINLOCK_BREAK. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>