qt6-bb10/tests/auto/corelib/io
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
..
largefile Further limit the sparse file testing on OS X 2014-10-22 23:00:41 +02:00
qabstractfileengine Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qbuffer Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdatastream Android: Fix QDataStream test 2015-01-09 15:41:34 +01:00
qdataurl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdebug Do the same for qDebug of QByteArray and QLatin1String 2015-01-11 03:40:43 +01:00
qdir Android: Fix QDir tests 2014-12-22 09:26:49 +01:00
qdiriterator Android: Fix QDirIterator tests 2014-12-22 09:26:57 +01:00
qfile Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qfileinfo Android: Fix test failure for test QFileInfo::lastRead() 2014-12-22 09:27:31 +01:00
qfileselector Update QFileSelector to use QSysInfo better 2015-01-16 03:11:51 +01:00
qfilesystementry Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qfilesystemwatcher Fix QFileSystemWatcher::directoryChanged docs/test 2015-01-05 23:52:58 +01:00
qiodevice Android: Fix QIODevice tests 2014-12-22 09:27:44 +01:00
qipaddress Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlockfile tst_QLockFile: simulate a crash better 2015-01-04 09:43:25 +01:00
qloggingcategory Add QtInfoMsg 2015-01-09 13:14:05 +01:00
qloggingregistry Android: Fix QLoggingRegistry test 2014-12-22 09:27:55 +01:00
qnodebug Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qprocess Use forkfd in QProcess 2015-01-23 19:13:17 +01:00
qprocess-noapplication Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qprocessenvironment Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qresourceengine Android: Fix QResourceEngine tests 2014-12-19 16:00:41 +01:00
qsavefile Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsettings Properly detect UTF-8 BOM markers in ini files 2014-10-29 08:58:31 +01:00
qstandardpaths QStandardPaths: add AppConfigLocation. 2015-01-09 12:15:59 +01:00
qstorageinfo Disable the tests that verify that the available space shrunk 2014-11-22 20:02:45 +01:00
qtemporarydir Android: Fix QTemporaryDir/File::nonWritableCurrentDir() tests 2014-12-22 09:28:05 +01:00
qtemporaryfile Android: Fix QTemporaryFile tests 2015-01-08 10:06:50 +01:00
qtextstream Add QTextStream::readLine() overload 2015-01-23 14:36:27 +01:00
qurl Add Windows-specific notation for WebDAV to QUrl. 2014-11-17 21:47:29 +01:00
qurlinternal Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qurlquery Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qwinoverlappedionotifier Update license headers and add new license files 2014-09-24 12:26:19 +02:00
io.pro Add the QStorageInfo class 2014-08-13 16:09:58 +02:00