diff options
| author | practicalswift <[email protected]> | 2018-04-29 22:29:42 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-04-29 22:29:42 +0200 |
| commit | cf13ad23d4f873b41a235ba3c7b22eb81de69f2d (patch) | |
| tree | 6fe70bcbda258095512711eee44ff7c97699ec69 /src/timedata.cpp | |
| parent | Add Clang thread safety annotations for variables guarded by cs_rpcWarmup (diff) | |
| download | discoin-cf13ad23d4f873b41a235ba3c7b22eb81de69f2d.tar.xz discoin-cf13ad23d4f873b41a235ba3c7b22eb81de69f2d.zip | |
Add Clang thread safety annotations for variables guarded by cs_nTimeOffset
Diffstat (limited to 'src/timedata.cpp')
| -rw-r--r-- | src/timedata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp index a803b2fc8..d484a1b0d 100644 --- a/src/timedata.cpp +++ b/src/timedata.cpp @@ -17,7 +17,7 @@ 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." |