[ovs-dev] [PATCH v5 03/10] util: Add high resolution sleep support.

Ben Pfaff blp at ovn.org
Fri Nov 3 20:13:24 UTC 2017


On Fri, Sep 15, 2017 at 05:40:23PM +0100, Bhanuprakash Bodireddy wrote:
> This commit introduces xnanosleep() for the threads needing high
> resolution sleep timeouts.
> 
> Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>

This is a little confusing.  The name xnanosleep() implies that its
argument would be in nanoseconds, but it's in fact in milliseconds.
Second, I don't understand why it's only implemented for Linux.

Thanks,

Ben.


More information about the dev mailing list