[patch] Break limitation of file watchers for KDirWatch on Windows

Jaroslaw Staniek js at iidea.pl
Wed Jul 9 21:13:00 BST 2008


For review (trunk).

Maximum number of wait objects per single QFileSystemWatcher is 
MAXIMUM_WAIT_OBJECTS (64) on Windows.

Attached implementation of KFileSystemWatcher. It's a typedef for 
QFileSystemWatcher, except on Windows, where we allocate more 
QFileSystemWatcher instances on demand (and deallocate them too).

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
  KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdirwatch_win.cpp
Type: text/x-c++src
Size: 2396 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080709/c969b87d/attachment.cpp>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdirwatch.patch
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080709/c969b87d/attachment.ksh>


More information about the kde-core-devel mailing list