libcamera/utils/ipc
Kieran Bingham 70238ceca5 utils: ipc: proxy: Track IPA with a state machine
Asynchronous tasks can only be submitted while the IPA is running.

Further more, the shutdown sequence can not be tracked with a simple
running flag. We can also be in the state 'Stopping' where we have not
yet completed all events, but we must not commence anything new.

Refactor the running_ boolean into a stateful enum to track this.

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-03-29 12:18:02 +01:00
..
generators utils: ipc: proxy: Track IPA with a state machine 2021-03-29 12:18:02 +01:00
mojo/public utils: ipc: import mojo 2020-11-11 19:22:37 +09:00
tools/diagnosis utils: ipc: import mojo 2020-11-11 19:22:37 +09:00
generate.py utils: ipc: add generator script 2021-02-16 19:21:07 +09:00
meson.build meson: ipa, proxy: Generate headers and proxy with mojo 2021-02-16 19:21:39 +09:00
parser.py utils: ipc: add parser script 2021-02-16 19:21:11 +09:00