summaryrefslogtreecommitdiff
path: root/test/libtest/camera_test.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-01-30 00:52:54 +0100
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2021-02-05 11:10:29 +0100
commit5b60b689c14bcb84ee034bdf400a75c0b63ef999 (patch)
treea9782ee8b17607479f4bfacd8271a230a444c634 /test/libtest/camera_test.cpp
parent297c9c3fa081a98f4f8657fe19ef33e6cec10bd0 (diff)
cam: event_loop: Execute events in the libevent loop
Cam uses libevent to deal with threads and idle loop while still implementing its own event queue. This creates issues when the event loop is terminated as it might get stuck in the idle loop if exit() is called while the thread is busy with dispatchCalls(). Solve this by removing the custom event execution and instead injecting the calls as events to the base event loop. Reported-by: Sebastian Fricke <sebastian.fricke@posteo.net> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/libtest/camera_test.cpp')
0 files changed, 0 insertions, 0 deletions