Ian Kent wrote:
So the number of watches is restricted to the max number of file handles/process?
Note: I have not read the code. We should probably do so before speculating.However, it looks like you have one fd, and reading from it gives you a data structure of information about the event. The max number of watches could be as high as INT_MAX depending on implementation.
Chris