libcamera/test/process
Kieran Bingham ee35abb7c7 test: process: Connect signal before launching process
The procFinished event handler is registered after the process is
started. This doesn't actually create any race, as the finished signal
is emitted after a SIGCHLD is caught and handled through the
ProcessManager and processed by the event loop.

However, to follow the best practice that resources should be acquired
before performing an action, connect the finished signal before starting
the process.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2019-09-13 09:21:37 +01:00
..
meson.build libcamera: Add Process and ProcessManager classes 2019-07-12 16:32:29 +09:00
process_test.cpp test: process: Connect signal before launching process 2019-09-13 09:21:37 +01:00