summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhstsstore.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-14 08:05:53 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-20 00:32:31 +0200
commitdcdfb6908db0f83cbc4e550859f56ee58a6b3420 (patch)
tree0b9347804e124037363223a389f4ac23cad0c745 /src/network/access/qhstsstore.cpp
parentd8a9bec35fb0c60a0e5990c1a12ffe6f39fdbf2d (diff)
Remove workaround for compilers not supporting thread_local
With C++11, all compilers support thread_local, which replaces the non- standardized __thread attribute as a storage class. The storage class was specifically introduced so that applications do not have to deal with pthread APIs for TLS key management. We still need to have some of that logic for adopting foreign threads, but we can rely on thread_local so that we get a fast implementation of QThread::currentThread() on all platforms. Change-Id: Iba2b35d014044c4ab317a0e127c5d1f1fa4ecd4a Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/network/access/qhstsstore.cpp')
0 files changed, 0 insertions, 0 deletions