summaryrefslogtreecommitdiff
path: root/zen/globals.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-06-14 22:33:49 -0400
committerB Stack <bgstack15@gmail.com>2019-06-14 22:33:49 -0400
commit583d22efb5901296d1e3dcbc091be5dee9d8a14f (patch)
treecc720d69d3ca68b64ed0aa79438177b6953469a1 /zen/globals.h
parentMerge branch '10.12' into 'master' (diff)
downloadFreeFileSync-583d22efb5901296d1e3dcbc091be5dee9d8a14f.tar.gz
FreeFileSync-583d22efb5901296d1e3dcbc091be5dee9d8a14f.tar.bz2
FreeFileSync-583d22efb5901296d1e3dcbc091be5dee9d8a14f.zip
10.13
Diffstat (limited to 'zen/globals.h')
-rw-r--r--zen/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/globals.h b/zen/globals.h
index 024147fa..e0bfd362 100644
--- a/zen/globals.h
+++ b/zen/globals.h
@@ -17,7 +17,7 @@ namespace zen
/*
Solve static destruction order fiasco by providing shared ownership and serialized access to global variables
-=>there may be accesses to "Global<T>::get()" during process shutdown e.g. _("") used by message in debug_minidump.cpp or by some detached thread assembling an error message!
+=> there may be accesses to "Global<T>::get()" during process shutdown e.g. _("") used by message in debug_minidump.cpp or by some detached thread assembling an error message!
=> use trivially-destructible POD only!!!
ATTENTION: function-static globals have the compiler generate "magic statics" == compiler-genenerated locking code which will crash or leak memory when accessed after global is "dead"
bgstack15