mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Trivial: update clang thread-safety docs url
This commit is contained in:
parent
2070a545e2
commit
c7f7fa467e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue