Re: [Linuxptp-users] ?Fw: “Resource temporarily unavailable” errors during flood ping test
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2012-10-30 17:46:40
|
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? */
> timeleft -= select(timeleft)
>
> }
|