Re: [PATCH] inotify 0.5



On Mon, 2004-07-19 at 09:33, Chris Friesen wrote:
> 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.

Yes you are right. The maximum number of watchers is per-device. I have
it defined as 256 now. Also the maximum number of devices that can be
opened at a time is 8.

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]