libcamera/utils/codegen/ipc
Milan Zamazal c0a58b9798 utils: ipc: Only dispatch messages for proxy when stopping thread
When stopping the proxy thread, all messages of InvokeMessage type
posted to the pipeline handler thread are dispatched, to ensure that all
signals emitted from the proxy thread and queued for delivery to the
proxy are delivered synchronously. This unnecessarily delivers queued
signals for other objects in the pipeline handler thread, possibly
delaying processing of higher priority events.

Improve the implementation by limiting synchronous delivery to messages
posted for the proxy.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2025-03-01 23:10:05 +00:00
..
generators utils: ipc: Only dispatch messages for proxy when stopping thread 2025-03-01 23:10:05 +00:00
mojo meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
tools meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
extract-docs.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
generate.py meson: utils: Provide environment for Python scripts 2024-08-16 00:00:23 +03:00
meson.build meson: utils: Provide environment for Python scripts 2024-08-16 00:00:23 +03:00
parser.py meson: utils: Provide environment for Python scripts 2024-08-16 00:00:23 +03:00