Go to file
Bradley T. Hughes d6e0306a90 Avoid races when destroying QFileSystemWatcher
On Mac OS X, socket notifiers need to be disabled/destroyed before
closing their associated file descriptor, otherwise we cause races
inside the CFSocket system. The documentation for CFSocketInvalidate()
says that we close the file descriptor after calling this function when
the kCFSocketCloseOnInvalidate flag is explicitly cleared
(QCocoaEventDispatcher clears this flag).

Do the same on the Linux inotify watcher as well, for symmetry.

Change-Id: I5592cc4bb5be4b752e48d895a685d3c92826acc7
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
2012-01-12 00:45:10 +01:00
bin Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
config.tests Remove ICD plugin for bearer. 2012-01-10 07:12:41 +01:00
dist Tests: Remove duplicate QTRY_VERIFY/QTRY_COMPARE macros in bearer. 2012-01-10 19:54:03 +01:00
doc/src Docs: Forward-ported typo and link fixes from Qt 4.8 2012-01-11 23:55:21 +01:00
examples Update year in Nokia copyright headers. 2012-01-10 07:12:41 +01:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Windows: Adapt cross mkspec for MinGW / gcc 4.6. 2012-01-12 00:01:20 +01:00
qmake QMap => QHash 2012-01-10 16:16:34 +01:00
src Avoid races when destroying QFileSystemWatcher 2012-01-12 00:45:10 +01:00
tests Remove unused QT_NO_TEXTSTREAM. 2012-01-11 22:17:46 +01:00
tools Don't use check as an identifier in the configure app. 2012-01-10 16:12:06 +01:00
util Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
.gitattributes Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
.gitignore Remove QtV8 library from QtBase 2012-01-09 19:54:07 +01:00
.tag Added .tag file with Git revision. 2011-05-03 16:23:49 +02:00
configure Don't enable V8's snapshot feature when building inside scratchbox for ARM 2012-01-11 15:59:51 +01:00
configure.exe Add a new QT_NO_SSL feature macro. 2012-01-06 11:19:23 +01:00
header.BSD Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.FDL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
header.LGPL-ONLY Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
INSTALL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.LGPL Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Ensure qmodule.pri is installed. 2011-11-23 00:12:03 +01:00
sync.profile Remove QtV8 library from QtBase 2012-01-09 19:54:07 +01:00