Add ability to request a shared event queue
To allow components with a simple need to schedule a few events to not
have to create their own threads, with all the associated memory
overhead, add 2 central calls to get shared normal and an
interrupt-deferral event queues, each dispatched on their own shared
threads.

For non-RTOS systems, just the normal event queue is provided, and the
application would have to dispatch this itself. This
application-dispatch is also available via a config option, to
potentially save memory by reusing the main thread.

Possible future improvement: the ability for separate components to
request a minimum stack size, and have the JSON combine these requests.
(Analogous tooling has already been mooted for mbed TLS config options
like key size).
ls
1 parent 4978a08 commit eb80c2539871112f6dd8a6cb2e084a1a86a8728c
@Kevin Bracey Kevin Bracey authored on 30 May 2017
Showing 4 changed files
View
events/mbed_events.h
View
events/mbed_lib.json
View
events/mbed_shared_queues.cpp 0 → 100644
View
events/mbed_shared_queues.h 0 → 100644