[Top][All Lists]
[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
- Re: fseeko on mingw, (continued)
- ftello on mingw, Bruno Haible, 2010/04/03
- getline on mingw, Bruno Haible, 2010/04/03
- getpagesize on mingw, Bruno Haible, 2010/04/03
- fchdir on mingw, Bruno Haible, 2010/04/03
- nanosleep on mingw, Bruno Haible, 2010/04/03
- Re: nanosleep on mingw, Bruno Haible, 2010/04/04
- Re: nanosleep on mingw, Jim Meyering, 2010/04/04
- Re: nanosleep on mingw,
Bruno Haible <=
localtime_r on mingw, Bruno Haible, 2010/04/03
timegm on mingw, Bruno Haible, 2010/04/03
strptime on mingw, Bruno Haible, 2010/04/03
wcwidth on mingw, Bruno Haible, 2010/04/03
ioctl on mingw, Bruno Haible, 2010/04/04