decrease failure rate of QProcess (#561203) on hppa ~100+ times
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 14 Sep 2020 13:56:35 +0000 (14:56 +0100)
committerLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Mon, 14 Sep 2020 13:56:35 +0000 (14:56 +0100)
commitfe6089d0db8da23f8350e1c64b3d8637ec427559
tree8b563e25e20ace134a397db299033918b005d4fe
parenta327f39e4d2129a5b6e7c0b5ad76dd9e700483a0
decrease failure rate of QProcess (#561203) on hppa ~100+ times

The patch adds a usleep() of 1000 before fork() in QProcess on hppa. This hack
seems to bring down likelihood of failure caused by #561203 from ~ 1/6 to
~1/1000 when run in a row. Hopefully, this will make failures rare enough
 not to cause FTBFSes.
 Degradation in performance should not be very significant and is acceptable.
Author: Modestas Vainius <modax@debian.org>
Author: Fathi Boudra <fabo@debian.org>
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561203
Origin: vendor
Last-Update: 2011-12-26

Gbp-Pq: Name 99_hppa_bug561203_decrease_failure_rate.diff
src/corelib/io/qprocess_unix.cpp