summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-tables/main.cpp
diff options
context:
space:
mode:
authorSamuel Nevala <samuel.nevala@intopalo.com>2015-11-19 13:12:41 +0200
committerSamuel Nevala <samuel.nevala@intopalo.com>2015-11-23 19:58:16 +0000
commit5b62a5e7aabcc818408f2fe28b9760082f474def (patch)
tree2e048078e999b9884642b8395da54ecb555851ae /src/gui/doc/snippets/textdocument-tables/main.cpp
parentfa00afe7d760d91cf9c91f57dd2f77625e758e28 (diff)
Fix deadlock when setting environment variables.
Qt uses QHash as the container for faking environment variables on Windows Runtime and CE. Environment variable manipulation functions are protected by mutex. Accessing the QT_HASH_SEED environment variable inside QHash can lead to situation where qputenv() call leads to qgetenv() call and that leads to a deadlock. Since the application environment is faked anyway, drop support for QT_HASH_SEED and ifdef that functionality out on those platforms. Documentation is updated to reflect changes. Task-number: QTBUG-49529 Change-Id: I1b1c28cb0b041fe2a63ca3dce57068fcb46505a7 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-tables/main.cpp')
0 files changed, 0 insertions, 0 deletions