decrease failure rate of QProcess (#561203) on hppa ~100+ times
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commit80dc50bab21ba91de4ea6d7f575074772efa1e1d
tree4d96cdbcdcfce0fcbde26e9e3e5da5a970da88ad
parentec8e1ba0cf1696343fcdaf40c91a9aff3b191796
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