summaryrefslogtreecommitdiffstats
path: root/tests/auto/network/socket/platformsocketengine
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-08-31 09:15:28 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-09-01 16:40:33 +0000
commitca92ee2518fdbd77fcbe3f8ef4f412aa5950b1b9 (patch)
treed0bfb6dfddf8b8946e163ed9e11acf3de928850f /tests/auto/network/socket/platformsocketengine
parent362dcb4759112a79462d7019e42fbe711eed58a8 (diff)
Make qAddPostRoutine & family thread-safe
If one wants to add them on demand, threads may have started, so these functions should be thread-safe. That includes the calling of the registered functions: some other thread could be adding post routines too. Of course, if you're racing, it's your own fault, but we need to support the routines registered with qAddPostRoutine adding more post routines. [ChangeLog][QtCore] qAddPostRoutine() and qRemovePostRoutine() are now thread-safe. Task-number: QTBUG-62915 Change-Id: I38341f8155354cc4a776fffd14dffa68bde8345d Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/network/socket/platformsocketengine')
0 files changed, 0 insertions, 0 deletions