zephyr/kernel/include
Andrew Boie b5a71f74a8 userspace: remove threads from domain on abort
When threads exited we were leaving dangling references to
them in the domain's mem_domain_q.

z_thread_single_abort() now calls into the memory domain
code via z_mem_domain_exit_thread() to take it off.

The thread setup code now invokes z_mem_domain_init_thread(),
avoiding extra checks in k_mem_domain_add_thread(), we know
the object isn't currently a member of a doamin.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2020-10-20 09:37:49 -07:00
..
gen_offset.h
kernel_arch_interface.h kernel: demote k_mem_map to z_mem_map 2020-09-03 14:24:38 -04:00
kernel_internal.h userspace: remove threads from domain on abort 2020-10-20 09:37:49 -07:00
kernel_offsets.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ksched.h code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
kswap.h benchmarking: remove execution benchmarking code 2020-09-05 13:28:38 -05:00
offsets_short.h kernel: remove legacy fields in _kernel 2020-05-08 17:42:49 +02:00