summaryrefslogtreecommitdiffstats
path: root/tests/auto/network
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-09-11 15:36:54 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-18 14:11:53 +0200
commit3f970c20f9afd5c9a1cc14d7f69882e13f6aaf1b (patch)
tree7e13275cafbfb8b10190571317ebd76d8191582e /tests/auto/network
parent849f1f9efda601bcfd3760256205a2014e0bc936 (diff)
Fix thread-safety of qt_ignore_sigpipe
The testAndSet operation would mean another thread could see the value of 1 and proceed to write(2)/sendto(2) before SIGPIPE had been ignored. If the pipe or socket were already closed by then, a SIGPIPE would be delivered to the application with its default action: terminate. Change-Id: I62dc8f5fa14c1dd453d13e4053c642bd78fbc468 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com> Reviewed-by: Peter Hartmann <phartmann@rim.com>
Diffstat (limited to 'tests/auto/network')
0 files changed, 0 insertions, 0 deletions