diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-23 10:00:35 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-23 18:51:56 +0200 |
commit | d370c1b46e1733905fd76eec004be26475afae9d (patch) | |
tree | 90415bb821ad84ea1839ceade3cec3ad5af706d0 /test/media_device | |
parent | 83c73c39c5c6b115fc80e6133433b70753499bab (diff) |
libcamera: event_dispatcher_poll: Handle interrupted ppoll() calls
The ppoll() call can be interrupted if a signal is delivered. Handle the
EINTR error code gracefully by restarting the call. This fixes the
event-dispatcher test failure.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/media_device')
0 files changed, 0 insertions, 0 deletions