diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-03-23 17:33:15 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-07-11 09:47:16 +0300 |
commit | 525b19c4101235385148ff9358b7b6e778a1f148 (patch) | |
tree | 7e7f32764f418af456b343ad1dae7fb05dab032a /src/cam/event_loop.h | |
parent | 10ec09025d6f52f2c1d0ba6b7e6943a603a386d9 (diff) |
libcamera: Add thread support
The new Thread class wraps std::thread in order to integrate it with the
Object, Signal and EventDispatcher classes. By default new threads run
an internal event loop, and their run() method can be overloaded to
provide a custom thread loop.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/cam/event_loop.h')
0 files changed, 0 insertions, 0 deletions