summaryrefslogtreecommitdiff
path: root/test/event.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-23 10:00:35 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-23 18:51:56 +0200
commitd370c1b46e1733905fd76eec004be26475afae9d (patch)
tree90415bb821ad84ea1839ceade3cec3ad5af706d0 /test/event.cpp
parent83c73c39c5c6b115fc80e6133433b70753499bab (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/event.cpp')
0 files changed, 0 insertions, 0 deletions