QFileSystemWatcher vs KDirWatch

Andras Mantia amantia at kde.org
Sat Jun 2 20:23:23 UTC 2007


On Saturday 02 June 2007, Andreas Pakulat wrote:
> Right, but distros use fam always and I doubt we can make them change
> my mind. They didn't change their mind until now.

You can always shut down the fam deamon.

> It just doesn't use fam/gamin. It uses inotify if available, else it
> polls.

Which probably results is a very bad performance on NFS mounted file 
systems.

> I can't seem to find the mails again (except those from k-c-d titles
> qfilesystemwatcher vs. kdirwatch). You can find some information in
> those.

I was also searching my "private" k-c-d folder and couldn't find 
anything, but some problems from 2004 regarding kdirwatch.

> So even if the above is not all that serious there are two really
> serious problems:
>
> a) No Maintainer and seemingly few people that know the code
> b) Not platform independent, that is it only works on *nix (maybe
> MacOS) without polling.

The first can be true, but for the second, does the qt class use other 
method instead of polling on Win/Mac?

> Andreas, who still thinks a wrapper around QFSWatcher is better than
> KDirWatch.

I think you just have to present your idea and the code on the core 
devel list. :)

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- 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/kdevelop-devel/attachments/20070602/f1f7392c/attachment.sig>


More information about the KDevelop-devel mailing list