libcamera/utils/codegen
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
..
ipc utils: ipc: Only dispatch messages for proxy when stopping thread 2025-03-01 23:10:05 +00:00
controls.py utils: codegen: controls.py: Fix missing direction error message 2025-01-09 14:12:50 -06:00
gen-controls.py utils: codegen: controls.py: Parse direction information 2024-12-18 17:26:52 +09:00
gen-formats.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
gen-gst-controls.py gstreamer: Generate the new AEGC controls 2025-01-20 21:36:40 +02:00
gen-header.sh utils: codegen: gen-header.sh: Generate libcamera.h based on meson.build 2024-08-16 00:00:28 +03:00
gen-ipa-pub-key.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
gen-tp-header.py libcamera: tracepoints: Fix copyright year for reproducible builds 2024-10-18 23:39:11 +03:00
meson.build gstreamer: Generate controls from control_ids_*.yaml files 2024-11-05 16:28:09 +00:00