summaryrefslogtreecommitdiff
path: root/test/process
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-12-01 16:53:40 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-01 13:46:45 +0200
commit16efd83f5dafb8261aac2e955576bc7d474043f9 (patch)
tree7b917003954badcfe0133adf7db46f45ecdb13c2 /test/process
parent7b86854e4014b10844848f9619c648e6ccfbf9c6 (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 'test/process')
0 files changed, 0 insertions, 0 deletions