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

Thiago Macieira thiago at kde.org
Thu Jul 10 04:29:56 BST 2008


Jaroslaw Staniek wrote:
>Thiago Macieira said the following, On 2008-07-09 22:43:
>> Jaroslaw Staniek wrote:
>>> Maximum number of wait objects per single QFileSystemWatcher is
>>> MAXIMUM_WAIT_OBJECTS (64) on Windows.
>>
>> If it's a limitation of QFileSystemWatcher, shouldn't it be reported
>> as a bug to that and fixed in Qt?
>
>Qt/Windows contains explicit condition to only allow
> MAXIMUM_WAIT_OBJECTS. I don't know what was the reason for this.
>
>If possible, I'd like to have the patch applied as a workaround and then
>report the bug and monitor its resolution.

Well, maybe there's a reason such a limit exists then. And since you're 
bypassing it, shouldn't you ask why it is there?

Anyways, go ahead and apply it if it helps.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080710/e48122f9/attachment.sig>


More information about the kde-core-devel mailing list