diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-12-01 16:53:40 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-12-01 13:46:45 +0200 |
commit | 16efd83f5dafb8261aac2e955576bc7d474043f9 (patch) | |
tree | 7b917003954badcfe0133adf7db46f45ecdb13c2 /src/ipa/raspberrypi | |
parent | 7b86854e4014b10844848f9619c648e6ccfbf9c6 (diff) |
libcamera: base: Add thread safety annotation macros
Clang compiler is able to do a thread safety analysis with
annotations [1]. This introduces the thread safety annotation
macros and also enable the analysis by adding -Wthread-safety
if a clang compiler is used.
[1] https://clang.llvm.org/docs/ThreadSafetyAnalysis.html.
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/ipa/raspberrypi')
0 files changed, 0 insertions, 0 deletions