commit | 445830dcec02e5282e408edd9f650a77e61cdc6e | [log] [tgz] |
---|---|---|
author | Benjamin Walsh <benjamin.walsh@windriver.com> | Thu Nov 10 15:54:27 2016 -0500 |
committer | Anas Nashif <nashif@linux.intel.com> | Thu Nov 10 23:18:56 2016 +0000 |
tree | b638a885eaeebe4f32305b021f4554b5b93c00fc | |
parent | d7ad176be656892d505be1e4da2569aaecea9fcd [diff] |
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>