summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-23 17:33:15 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-07-11 09:47:16 +0300
commit525b19c4101235385148ff9358b7b6e778a1f148 (patch)
tree7e7f32764f418af456b343ad1dae7fb05dab032a /include
parent10ec09025d6f52f2c1d0ba6b7e6943a603a386d9 (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 'include')
-rw-r--r--include/libcamera/camera_manager.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/libcamera/camera_manager.h b/include/libcamera/camera_manager.h
index 633d27d1..0e8881ba 100644
--- a/include/libcamera/camera_manager.h
+++ b/include/libcamera/camera_manager.h
@@ -46,8 +46,6 @@ private:
std::vector<std::shared_ptr<PipelineHandler>> pipes_;
std::vector<std::shared_ptr<Camera>> cameras_;
- std::unique_ptr<EventDispatcher> dispatcher_;
-
static const std::string version_;
};