kernel: add support for event objects
Threads may wait on an event object such that any events posted to that event object may wake a waiting thread if the posting satisfies the waiting threads' event conditions. The configuration option CONFIG_EVENTS is used to control the inclusion of events in a system as their use increases the size of 'struct k_thread'. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
parent
fc12f69cd0
commit
ae394bff7c
13 changed files with 546 additions and 2 deletions
|
@ -85,6 +85,7 @@
|
|||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_mbox, 4)
|
||||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_pipe, 4)
|
||||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_sem, 4)
|
||||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_event, 4)
|
||||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_queue, 4)
|
||||
ITERABLE_SECTION_RAM_GC_ALLOWED(k_condvar, 4)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue