path: root/src/network
diff options
authorVolker Hilsheimer <>2019-08-14 08:05:53 +0200
committerVolker Hilsheimer <>2019-08-20 00:32:31 +0200
commitdcdfb6908db0f83cbc4e550859f56ee58a6b3420 (patch)
tree0b9347804e124037363223a389f4ac23cad0c745 /src/network
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 <> Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions