libcamera/utils/ipc/generators/libcamera_templates
Umang Jain 28990d36fe utils: ipc: Assign a new gid to proxy worker
Isolated IPAs are forked to a new process by the proxy worker, which
shares the same process group. This allows the undesired effect that
the proxy worker will receive signals such as SIGINT and will be closed
by a Ctrl-C event before the pipeline handlers have been able to fully
clean up.

Prevent this signal from being delivered to the proxy worker by moving
the process to a new process group, matching the pid of the isolated
proxy.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=60
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
2021-07-27 10:07:13 +05:30
..
core_ipa_interface.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
core_ipa_serializer.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
definition_functions.tmpl ipa: Move core IPA interface documentation to a .cpp file 2021-05-24 14:13:01 +03:00
meson.build utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
module_ipa_interface.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
module_ipa_proxy.cpp.tmpl utils: ipc: proxy: Reset ControlSerializer during IPA configure 2021-07-09 22:56:27 +05:30
module_ipa_proxy.h.tmpl libcamera/base: Move extended base functionality 2021-06-25 16:11:08 +01:00
module_ipa_proxy_worker.cpp.tmpl utils: ipc: Assign a new gid to proxy worker 2021-07-27 10:07:13 +05:30
module_ipa_serializer.h.tmpl utils: ipc: Use the proper namespace for mojom structs 2021-04-27 17:34:58 +09:00
proxy_functions.tmpl utils: ipc: proxy: Track IPA with a state machine 2021-03-29 12:18:02 +01:00
serializer.tmpl utils: ipc: Use the proper namespace for mojom structs 2021-04-27 17:34:58 +09:00