Is there a way of detecting directory changes without polling?
Is there a way of detecting directory changes without polling? I'm working on an application in C++ that needs to process files that are deposited in a inbound directory. The application is for Fedora Core 4 - Athlon 64 with a filesystem type of ext3.
I don't want to poll the filesystem or continuously read the directory. Is there a way I can determine if the directory via a signal or some kernel message without having to tax the system with continuous stat calls? Thanks.