This is a discussion on Inotify problem within the Linux Programming forums, part of the Platform Specific Boards category; Originally Posted by matsp Have you TRIED using it without oneshot and just putting a bit of delay after you've ...
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
then it means that you're not doing the right thing in the kernel. After the remove_watch you should be free to do whatever you want and after the close file you should be free to add any watch you want.
Obviously talking about a single-threaded app.
Last edited by MisterIO; 11-14-2008 at 10:15 AM.