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>
This commit is contained in:
Laurent Pinchart
2020-02-13 12:34:32 +02:00
parent fcfa11177f
commit 89503199e8
7 changed files with 30 additions and 10 deletions
+2
View File
@@ -190,6 +190,8 @@ DeviceEnumerator::~DeviceEnumerator()
* with a warning message logged, without returning an error. Only errors that
* prevent enumeration altogether shall be fatal.
*
* \context This function is \threadbound.
*
* \return 0 on success or a negative error code otherwise
*/