summaryrefslogtreecommitdiff
path: root/zen/globals.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-07-10 20:36:59 +0000
committerB Stack <bgstack15@gmail.com>2019-07-10 20:36:59 +0000
commitb3eda3ab537804cfa07cc257944b6fc69bec59a8 (patch)
treecc720d69d3ca68b64ed0aa79438177b6953469a1 /zen/globals.h
parentMerge branch '10.12' into 'master' (diff)
parent10.13 (diff)
downloadFreeFileSync-b3eda3ab537804cfa07cc257944b6fc69bec59a8.tar.gz
FreeFileSync-b3eda3ab537804cfa07cc257944b6fc69bec59a8.tar.bz2
FreeFileSync-b3eda3ab537804cfa07cc257944b6fc69bec59a8.zip
Merge branch '10.13' into 'master'10.13
10.13 See merge request opensource-tracking/FreeFileSync!10
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