kernel: add k_is_preempt_thread()
Useful for finding out if the current thread is protected against
preemption when using non-preemption to protect data structures.
Change-Id: Ib545a3609af3646ba49eeeb5a2c50dc51af010d4
Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
Loading
Please sign in to comment