diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-19 02:54:23 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-13 12:34:32 +0200 |
commit | 89503199e8d09ac17e6d2dde7715a843ede77e5c (patch) | |
tree | d5dfb142b1c2dab091efc4578852c3d5b3fa47e6 /src/libcamera/thread.cpp | |
parent | fcfa11177f32f105c347e3d4e36628ea2604d1e8 (diff) |
libcamera: Document thread-safety attributes of core classes
Define the thread-safety attributes of the classes and methods that are
either thread-safe or thread-bound. The CameraManager, Camera and
PipelineHandler will be addressed separately.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/libcamera/thread.cpp')
-rw-r--r-- | src/libcamera/thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcamera/thread.cpp b/src/libcamera/thread.cpp index 38e01771..1d0a600a 100644 --- a/src/libcamera/thread.cpp +++ b/src/libcamera/thread.cpp @@ -222,6 +222,8 @@ ThreadData *ThreadData::current() * called. A custom event dispatcher may be installed with * setEventDispatcher(), otherwise a poll-based event dispatcher is used. This * behaviour can be overriden by overloading the run() method. + * + * \context This class is \threadsafe. */ /** |