Trivial: update clang thread-safety docs url

pull/14129/head
Ben Woosley 6 years ago
parent 2070a545e2
commit c7f7fa467e
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345

@ -10,7 +10,7 @@
// TL;DR Add GUARDED_BY(mutex) to member variables. The others are // TL;DR Add GUARDED_BY(mutex) to member variables. The others are
// rarely necessary. Ex: int nFoo GUARDED_BY(cs_foo); // 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 // for documentation. The clang compiler can do advanced static analysis
// of locking when given the -Wthread-safety option. // of locking when given the -Wthread-safety option.
#define LOCKABLE __attribute__((lockable)) #define LOCKABLE __attribute__((lockable))

Loading…
Cancel
Save