mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-20 15:10:46 +02:00
Add Clang thread safety annotations for variables guarded by cs_nTimeOffset
This commit is contained in:
parent
012dec0347
commit
cf13ad23d4
@ -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 New Issue
Block a user