summaryrefslogtreecommitdiff
path: root/test/timer-thread.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-06 07:55:17 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-10-07 06:02:23 +0300
commit62e33576819ab35b849d7262d0640c66b0d3a839 (patch)
tree07fa2ca76796d514c331d64bb0b726aa7102ec15 /test/timer-thread.cpp
parentde5d7bfb4152cdfd46975c0b94f4604b14d2e8a4 (diff)
libcamera: timer: Forbid starting or stopping timer from another thread
Starting or stopping a timer from a different thread than the one it belongs to is inherently racy. Disallow it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/timer-thread.cpp')
0 files changed, 0 insertions, 0 deletions