in reply to Re^2: The "readdir()" fails to detect files created after the call to "opendir()"
in thread The "readdir()" fails to detect files created after the call to "opendir()"

SimonPratt:

Yeah, I figured people may not be aware that Linux and MacOSX also have filesystem events available. I try to use filesystem events when I can, to avoid repeated directory scanning. Especially when many directories would need scanning.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re^3: The "readdir()" fails to detect files created after the call to "opendir()"