Re: [Xenomai] select() unblocks when no data to read()

2017-07-18 Thread Philippe Gerum
On 07/17/2017 06:37 PM, Philippe Gerum wrote: > On 07/13/2017 10:39 PM, George Broz wrote: >> On 13 July 2017 at 09:26, George Broz wrote: >>> Hi - >>> >>> I'm using the UDD driver on Xenomai 3.0.4 / Linux 3.18.20 on an ARM SoC. >>> >>> I use select() to block on read events.

Re: [Xenomai] select() unblocks when no data to read()

2017-07-17 Thread Philippe Gerum
On 07/13/2017 10:39 PM, George Broz wrote: > On 13 July 2017 at 09:26, George Broz wrote: >> Hi - >> >> I'm using the UDD driver on Xenomai 3.0.4 / Linux 3.18.20 on an ARM SoC. >> >> I use select() to block on read events. The problem is select() unblocks >> twice in response

Re: [Xenomai] select() unblocks when no data to read()

2017-07-13 Thread George Broz
On 13 July 2017 at 09:26, George Broz wrote: > Hi - > > I'm using the UDD driver on Xenomai 3.0.4 / Linux 3.18.20 on an ARM SoC. > > I use select() to block on read events. The problem is select() unblocks > twice in response to one interrupt event. The corresponding read() >

[Xenomai] select() unblocks when no data to read()

2017-07-13 Thread George Broz
Hi - I'm using the UDD driver on Xenomai 3.0.4 / Linux 3.18.20 on an ARM SoC. I use select() to block on read events. The problem is select() unblocks twice in response to one interrupt event. The corresponding read() to the second erroneous unblocked select() then blocks until the next