Add Clang thread safety annotations for variables guarded by cs_nTimeOffset
This commit is contained in:
parent
012dec0347
commit
cf13ad23d4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
|
|
||||||
static CCriticalSection cs_nTimeOffset;
|
static CCriticalSection cs_nTimeOffset;
|
||||||
static int64_t nTimeOffset = 0;
|
static int64_t nTimeOffset GUARDED_BY(cs_nTimeOffset) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* "Never go to sea with two chronometers; take one or three."
|
* "Never go to sea with two chronometers; take one or three."
|
||||||
|
|
Loading…
Reference in a new issue