bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nanosleep on mingw


From: Bruno Haible
Subject: Re: nanosleep on mingw
Date: Sun, 4 Apr 2010 20:13:47 +0100
User-agent: KMail/1.9.9

Jim Meyering wrote:
> You're welcome to commit that.

Committed. The only thing I'm worried about is that it's a compromise
between precision of the time interval and ues of CPU time:
Someone who invokes nanosleep with an argument of 0.3 seconds may complain
that 9.4 ms of busy-looping is not acceptable and that - in his application -
sleeping 0.29 or 0.31 s would be more acceptable than burning CPU time.
But nanosleep does not take a "precision" argument...

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]