git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
41ddd87
)
Prevent compiler from optimizing this flag out
author
CryptoManiac
<balthazar@yandex.ru>
Sat, 30 Apr 2016 19:23:30 +0000 (22:23 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sat, 30 Apr 2016 19:23:30 +0000 (22:23 +0300)
src/init.cpp
patch
|
blob
|
history
diff --git
a/src/init.cpp
b/src/init.cpp
index
db17c20
..
13f1916
100644
(file)
--- a/
src/init.cpp
+++ b/
src/init.cpp
@@
-81,7
+81,7
@@
void Shutdown(void* parg)
fTaken = true;
}
}
- static bool fExit;
+ volatile static bool fExit;
if (fFirstThread)
{
fShutdown = true;