Skip to content
Commit 3c6fdf27 authored by Chris Friedt's avatar Chris Friedt Committed by Chris Friedt
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 909ad817
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment