summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystemwatcher.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-07-24 09:48:33 (GMT)
committerNorwegian Rock Cat <qt-info@nokia.com>2009-07-24 09:48:33 (GMT)
commit5e157ed2fc5a3780959da0246ceb2b20fabbbeb5 (patch)
tree4641ec2a5f69d3208083d4e06394f152ff1bb5dc /src/corelib/io/qfilesystemwatcher.cpp
parent777b93a0a48096e68124feec4c0e0cab3d60c36a (diff)
downloadQt-5e157ed2fc5a3780959da0246ceb2b20fabbbeb5.zip
Qt-5e157ed2fc5a3780959da0246ceb2b20fabbbeb5.tar.gz
Qt-5e157ed2fc5a3780959da0246ceb2b20fabbbeb5.tar.bz2
Document my new backend.
Also rephrase some sentences.
Diffstat (limited to 'src/corelib/io/qfilesystemwatcher.cpp')
-rw-r--r--src/corelib/io/qfilesystemwatcher.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/corelib/io/qfilesystemwatcher.cpp b/src/corelib/io/qfilesystemwatcher.cpp
index 902e240..27fe1c2 100644
--- a/src/corelib/io/qfilesystemwatcher.cpp
+++ b/src/corelib/io/qfilesystemwatcher.cpp
@@ -384,15 +384,17 @@ void QFileSystemWatcherPrivate::_q_directoryChanged(const QString &path, bool re
\note The act of monitoring files and directories for
modifications consumes system resources. This implies there is a
limit to the number of files and directories your process can
- monitor simultaneously. On Mac OS and all BSD variants, for
+ monitor simultaneously. On Mac OS X 10.4 and all BSD variants, for
example, an open file descriptor is required for each monitored
- file. The system limits the number of open file descriptors to 256
+ file. Some system limits the number of open file descriptors to 256
by default. This means that addPath() and addPaths() will fail if
your process tries to add more than 256 files or directories to
the file system monitor. Also note that your process may have
other file descriptors open in addition to the ones for files
being monitored, and these other open descriptors also count in
- the total.
+ the total. Mac OS X 10.5 and up use a different backend and do not
+ suffer from this issue.
+
\sa QFile, QDir
*/