in reply to Testing filesystem monitor
So what would I do? Just loop through all the files, attempt to flock them in nonblocking mode, and if you find one, process it, and delete it. And then start again from the top.
If you don't find one, just sleep a few seconds and try again.
|
|---|