Add Clang thread safety annotations for variables guarded by cs_nTimeOffset

This commit is contained in:
practicalswift 2018-04-29 22:29:42 +02:00
parent 012dec0347
commit cf13ad23d4

View file

@ -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."