Thread safety analysis: Document how try-acquire is handled
authorAaron Puchert <aaronpuchert@alice-dsl.net>
Sat, 5 Sep 2020 12:21:42 +0000 (14:21 +0200)
committerAaron Puchert <aaronpuchert@alice-dsl.net>
Sat, 5 Sep 2020 12:26:43 +0000 (14:26 +0200)
commit8544defdcb09bbbbc25c5958e5f5b5762e9b9046
treee4fe594de2c7a90d1ca4dc6d280655f9065d16ef
parent58b28fa7a2fd57051f3d2911878776d6f57b18d8
Thread safety analysis: Document how try-acquire is handled

I don't think this is obvious, since try-acquire seemingly contradicts
our usual requirements of "no conditional locking".

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D87065
clang/docs/ThreadSafetyAnalysis.rst