Re: slow nanosleep?

From: Eric Dumazet
Date: Wed Sep 08 2010 - 06:14:31 EST


Le mercredi 08 septembre 2010 Ã 11:51 +0200, Thomas Gleixner a Ãcrit :
> + if (!tu.tv_sec && !tu.tv_usec)
> + return 0;
> +

You need tu.tv_nsec here ;)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/