qt5base-lts/tests/auto/corelib
Thiago Macieira 1814142b7a Use forkfd in QProcess
Replace the existing code in QProcess that dealt with signaling of child
processes exiting with forkfd and spawnfd. The previous code was
convoluted and hard to maintain, having shown its age in the last
year. I've been running it for a year and a half and the new
implementation is definitely an improvement.

This change replaces support for the QNX Neutrino spawn() call with the
POSIX version. We lose the ability to do setsid(), but we gain quite a
few ioctls() that were done to fill in the file descriptor mapping
structure. That's also the only OS for which we have the ability to
thread-safely chdir() before the call to spawnfd().

Another advantage is that forkfd does not require a dedicated thread
running to handle child processes exiting.

Change-Id: I5eb76821dfdb6a8ed2989d7f53b3c31e515c3174
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2015-01-23 19:13:17 +01:00
..
animation Android: Stabilize QPauseAnimation test 2014-12-22 09:26:38 +01:00
codecs Hardcode UTF-8 for "unicode" in QTextCodec::codecForHtml(). 2014-10-28 12:17:13 +01:00
global Haiku: Make remaining auto tests compile on Haiku 2015-01-14 05:37:28 +01:00
io Use forkfd in QProcess 2015-01-23 19:13:17 +01:00
itemmodels QSortFilterProxyModel: fix a regression 2015-01-17 06:32:37 +01:00
json Merge remote-tracking branch 'origin/5.4' into dev 2014-12-29 16:37:38 +01:00
kernel QAssociativeIterable: add find() 2015-01-21 11:23:43 +01:00
mimetypes Update license headers and add new license files 2014-09-24 12:26:19 +02:00
plugin Update license headers and add new license files 2014-09-24 12:26:19 +02:00
statemachine QState: Added template PointerToMemberFunction 2014-12-20 06:36:26 +01:00
thread QThreadPool::cancel() to remove individual jobs from the job queue. 2014-12-24 15:01:36 +01:00
tools Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev 2015-01-21 11:14:34 +01:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00