libcamera/utils/ipc/generators
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
..
libcamera_templates utils: ipc: proxy: Track IPA with a state machine 2021-03-29 12:18:02 +01:00
meson.build meson: ipa, proxy: Generate headers and proxy with mojo 2021-02-16 19:21:39 +09:00
mojom_libcamera_generator.py utils: ipc: Make first output parameter direct return if int32 2021-03-09 11:49:13 +09:00