[beagleboard] Blocking read

2013-12-11 Thread Miro
Hello all. So far I wrote a kernel driver that can read pwm encoded signal. I'd like to pass the data to the userspace now and this is what I'm thinking: User app creates several threads, one of which reads a device file in a loop. I want the read function to efficiently block, putting the

Re: [beagleboard] Blocking read

2013-12-11 Thread Dave Hylands
Hi Miro, On Wed, Dec 11, 2013 at 1:21 PM, Miro miroz2...@gmail.com wrote: Hello all. So far I wrote a kernel driver that can read pwm encoded signal. I'd like to pass the data to the userspace now and this is what I'm thinking: User app creates several threads, one of which reads a device