Trivial: update clang thread-safety docs url

This commit is contained in:
Ben Woosley 2018-09-02 02:49:30 -04:00
parent 2070a545e2
commit c7f7fa467e
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
// TL;DR Add GUARDED_BY(mutex) to member variables. The others are
// rarely necessary. Ex: int nFoo GUARDED_BY(cs_foo);
//
// See http://clang.llvm.org/docs/LanguageExtensions.html#threadsafety
// See https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
// for documentation. The clang compiler can do advanced static analysis
// of locking when given the -Wthread-safety option.
#define LOCKABLE __attribute__((lockable))