On Thu, 2012-11-01 at 18:08 +0100, Samuel Thibault wrote: > Svante Signell, le Thu 01 Nov 2012 18:04:35 +0100, a écrit :
> I have added 1, just like you tried to in your patch. > > to = (timeout->tv_sec * 1000 > > so it's ms. OK, 1ms seems to be a little long. If the time-resolution had been 1us it could have simplified the problem a lot.