zephyr/kernel/unified
Benjamin Walsh d7ad176be6 kernel: export k_sched_lock and k_sched_unlock.
Oversight. These functions are used extensively in the kernel guts, but
are also supposed to be an API.

k_sched_lock used to be implemented as a static inline. However, until
the header files are cleaned-up, and everything, including applications
get access to the kernel internal data structures, it must be
implemented as a function. To reduce the cost to the internals of the
kernel, the new internal _sched_lock() contains the same implemetation,
but is inlined.

Change-Id: If2f61d7714f87d81ddbeed69fedd111b8ce01376
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-11-10 23:18:55 +00:00
..
include kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
alert.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
atomic_c.c
compiler_stack_protect.c
device.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
errno.c kernel: remove old kernel support in v2 code 2016-11-07 11:34:18 -08:00
event_logger.c kernel: logger: move to unified kernel APIs 2016-11-09 23:01:42 +00:00
fifo.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
idle.c kernel: fix issues in idle thread 2016-11-08 23:38:55 +00:00
init.c kernel: Treat aborting by main() as a fatal system error 2016-11-10 18:51:42 +00:00
int_latency_bench.c
Kconfig unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00
kernel_event_logger.c kernel_event_logger: fix _current.prio acces in __ASSERT() 2016-11-08 23:38:34 +00:00
legacy_offload.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
legacy_timer.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
lifo.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
mailbox.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
Makefile unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00
mem_pool.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
mem_slab.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
msg_q.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
mutex.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
pipes.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
sched.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
sem.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
stack.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
sys_clock.c kernel: don't directly use deprecated sys_tick_get APIs 2016-11-09 19:59:07 +00:00
system_work_q.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
thread_abort.c
thread.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
timer.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
version.c
work_q.c unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00