decrease failure rate of QProcess (#561203) on hppa ~100+ times
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
commitc92afc95e11b2a09523ae948ff2196647495a54a
treebb36628ad9e517da94b141dfef5c7afdca408088
parent5ec84330f0facd89ade0bd9cb64d86611ba4aa21
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