diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-12-01 16:53:41 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-12-01 13:46:47 +0200 |
commit | c17f172842d17b6036e10b1775e89d0219c3b3f9 (patch) | |
tree | 6ce969f3be6e8d000c3ad9eb8eb6c351ac3b008c /src/android/camera_capabilities.cpp | |
parent | 16efd83f5dafb8261aac2e955576bc7d474043f9 (diff) |
libcamera: base: Add mutex classes with thread safety annotations
This replaces Mutex and MutexLocker with our own defined classes.
The classes are annotated by clang thread safety annotations.
So we can add annotation to code where the classes are used.
v4l2 code needs to be annotated, which violates Mutex capability.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_capabilities.cpp')
0 files changed, 0 insertions, 0 deletions