zephyr/kernel/include
Andrew Boie 818a96d3af userspace: assign thread IDs at build time
Kernel object metadata had an extra data field added recently to
store bounds for stack objects. Use this data field to assign
IDs to thread objects at build time. This has numerous advantages:

* Threads can be granted permissions on kernel objects before the
  thread is initialized. Previously, it was necessary to call
  k_thread_create() with a K_FOREVER delay, assign permissions, then
  start the thread. Permissions are still completely cleared when
  a thread exits.

* No need for runtime logic to manage thread IDs

* Build error if CONFIG_MAX_THREAD_BYTES is set too low

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-11-03 11:29:23 -07:00
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_offsets.h syscalls: greatly simplify system call declaration 2017-09-29 13:02:20 -07:00
kernel_structs.h userspace: assign thread IDs at build time 2017-11-03 11:29:23 -07:00
ksched.h userspace: de-initialize aborted threads 2017-10-16 16:16:28 -07:00
nano_internal.h cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
syscall_handler.h doc: Fix misspellings in header/doxygen comments 2017-10-17 19:40:29 -04:00
timeout_q.h cleanup: rename fiber/task -> thread 2017-10-30 18:41:15 -04:00
wait_q.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00