mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-21 09:32:39 +02:00
Trivial: update clang thread-safety docs url
This commit is contained in:
parent
2070a545e2
commit
c7f7fa467e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user