Description of problem:
"Each inotify instance fd is also select()- and poll()-able."
I may be missing some setup, but I can't get select to wakeup from an inotify
event. inotify (with headers from latest glibc) seems to work ok otherwise.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.See test prog.
select always timesout, even if there were inotify events.
select should wake up for inotify events.
Created attachment 124174 [details]
small test program for inotify + select()
First pass: The first parameter to select() is the highest numbered file
descriptor, plus one, not the number of file descriptors watched.
Thus, in your test program, you want to do
Thank you. That fixed it.