libcamera/utils
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
..
codegen utils: ipc: Only dispatch messages for proxy when stopping thread 2025-03-01 23:10:05 +00:00
hooks hooks: pre-push: Verify that co-authors have a SoB line 2024-10-08 18:06:30 +03:00
ipu3 libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
raspberrypi utils: raspberrypi: ctt: Add a maximum gain parameter for LSC 2024-06-13 11:02:39 +01:00
rkisp1 libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
tracepoints meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
tuning libipa: awb_bayes: Change the probabilities from log space to linear space 2025-02-21 17:51:10 +01:00
abi-compat.sh utils: abi-compat: sort meson options 2024-09-25 10:36:40 +01:00
checkstyle.py utils: checkstyle.py: Centralize dependency handling for checkers 2024-11-05 03:50:12 +02:00
gen-debug-controls.py utils: gen-debug-controls: Output direction flag 2024-12-23 11:16:08 +00:00
gen-ipa-priv-key.sh libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gen-version.sh utils: gen-version: Use posix compliant date 2024-07-25 09:57:54 +01:00
meson.build meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
release.sh utils: Provide a release script 2022-10-13 12:40:24 +01:00
run-dist.sh build: Preserve upstream git versioning using meson dist 2021-10-19 13:14:54 +03:00
semver utils: semver: Add version helper 2022-10-13 12:40:23 +01:00
update-kernel-headers.sh utils: update-kernel-headers: Support relative path to kernel git tree 2024-08-27 12:16:10 +03:00
update-mojo.sh utils: update-mojo.sh: Commit the mojo update 2024-01-09 15:39:05 +00:00