On Sat, Apr 12, 2014 at 12:32:14AM +0100, Graeme Geldenhuys wrote:
> On 2014-04-11 20:06, Krzysztof wrote:
> > idea how to do this in thread loop but maybe FPC has OS solution
> 
> As the others have said, the OS solutions are very version/distro
> dependent - especially under Linux which changes underlying
> functionality every 6 months or so (so damn annoying).

No, the linux solution isn't distro dependent, since it's in the kernel.
inotify came in 2005-ish to deprecate dnotify, but even dnotify still
exists (read the man page for fcntl).  The kernel guys are pretty
serious about not breaking userspace interfaces.

If you're using some other userspace daemon to do this (like FAM), then
you're at their mercy.

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to