diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-02-24 18:44:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-22 17:15:58 +0100 |
commit | f7eff7251786186ca895c8fc537b304bc89977b3 (patch) | |
tree | 161dd1a09188b8d3b61a5fd2dafbf43764d8424e /lib/README | |
parent | 326a5e0bca9e77ce9d6a93e301c6b52a56278453 (diff) |
Add a new Q_GLOBAL_STATIC implementation
Unlike the previous implementation, this implementation is locked:
only one initialisation is ever run at the same time. It is
exception-safe, meaning that a throwing constructor will restart the
process.
Also, start using the thread-safe behaviour that GCC has offered for a
long time and C++11 requires.
Change-Id: I20db44f57d258923df64c0051358fd0d9a5ccd51
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: David Faure (KDE) <faure@kde.org>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'lib/README')
0 files changed, 0 insertions, 0 deletions