Skip to content
Commit 5d29e13e authored by Chris Friedt's avatar Chris Friedt Committed by Fabio Baltieri
Browse files

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: default avatarChris Friedt <cfriedt@tenstorrent.com>
parent 52a20230
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment