Re: [Linuxptp-users] ?Fw: “Resource temporarily unavailable” errors during flood ping test
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Keller, J. E <jac...@in...> - 2012-10-30 17:53:03
|
> -----Original Message----- > From: Richard Cochran [mailto:ric...@gm...] > Sent: Tuesday, October 30, 2012 10:46 AM > To: Keller, Jacob E > Cc: Miroslav Lichvar; lin...@li... > Subject: Re: [Linuxptp-users]?Fw: “Resource temporarily unavailable” > errors during flood ping test > > On Tue, Oct 30, 2012 at 05:33:45PM +0000, Keller, Jacob E wrote: > > > That doesn't work because you can't restrict the select to the error > > > queue only. > > > > > > > But select returns the time it waited, and I believe we can do something > like: > > > > while (nothing_in_errorqueue or timeleft) { > > /* handle new, incoming packets here? */ > Basically that's the idea. - Jake > > timeleft -= select(timeleft) > > > > } |