diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-04-29 22:29:42 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-04-29 22:29:42 +0200 |
commit | cf13ad23d4f873b41a235ba3c7b22eb81de69f2d (patch) | |
tree | 6fe70bcbda258095512711eee44ff7c97699ec69 /src | |
parent | 012dec034794cf22d55d3d711ca23a2312d1c2aa (diff) |
Add Clang thread safety annotations for variables guarded by cs_nTimeOffset
Diffstat (limited to 'src')
-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 a803b2fc87..d484a1b0d6 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." |