Avi Alkalay wrote:
I'm having a look at inotify, which is the basis for gamin.
Don't tie your code to inotify, tie it to something like gamin. Gamin
can abstract away the different OS interfaces, so that machines without
inotify will still have some form of notification (dnotify, polling,
whatever). There's no good reason to reimplement that code yourself.