Re: poll of filesystem

2011-07-02 Thread Tim Roberts
Belisko Marek wrote: > >just want to use poll method to get data from /proc file system. Use >simple code for it. Problem is it seems poll return POLLIN flag but >when I try to read data it's always empty. Could be a problem changes >are so fast that print can't print it? Poll doesn't make sense

Re: poll of filesystem

2011-07-02 Thread Dan Stromberg
On Sat, Jul 2, 2011 at 2:40 AM, Belisko Marek wrote: > Hi, > > just want to use poll method to get data from /proc file system. Use > simple code for it. Problem is it seems poll return POLLIN flag but > when I try to read data it's always empty. Could be a problem changes > are so fast that print

Re: poll of filesystem

2011-07-02 Thread Nobody
On Sat, 02 Jul 2011 11:40:46 +0200, Belisko Marek wrote: > just want to use poll method to get data from /proc file system. Use > simple code for it. Problem is it seems poll return POLLIN flag but > when I try to read data it's always empty. Could be a problem changes > are so fast that print can