diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-01-30 00:52:54 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2021-02-05 11:10:29 +0100 |
commit | 5b60b689c14bcb84ee034bdf400a75c0b63ef999 (patch) | |
tree | a9782ee8b17607479f4bfacd8271a230a444c634 /src/qcam/message_handler.cpp | |
parent | 297c9c3fa081a98f4f8657fe19ef33e6cec10bd0 (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 'src/qcam/message_handler.cpp')
0 files changed, 0 insertions, 0 deletions