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

Jaroslaw Staniek js at iidea.pl
Wed Jul 9 22:13:00 CEST 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-windows/attachments/20080709/c969b87d/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kdirwatch.patch
Url: http://mail.kde.org/pipermail/kde-windows/attachments/20080709/c969b87d/attachment.ksh 


More information about the Kde-windows mailing list