Re: [libvirt] [PATCH 01/15] gnulib: Add usleep for MinGW builds

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

 



On 03/22/2010 08:54 AM, Daniel P. Berrange wrote:
> On Mon, Mar 22, 2010 at 02:25:31AM +0100, Matthias Bolte wrote:
>> ---
>>  bootstrap.conf |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/bootstrap.conf b/bootstrap.conf
>> index 157092f..fb862ad 100644
>> --- a/bootstrap.conf
>> +++ b/bootstrap.conf
>> @@ -56,6 +56,7 @@ strsep
>>  sys_stat
>>  time_r
>>  useless-if-before-free
>> +usleep
>>  vasprintf
>>  verify
>>  vc-list-files
>> -- 
> 
> ACK

POSIX 2008 delisted usleep as an obsolete interface; it has some
usability issues when compared to nanosleep.  While gnulib at least
fixes the worst of the portability problems (namely, the fact that
usleep is not required to sleep longer than 1 second, even though it can
sleep over 4000 seconds on glibc), I'm wondering if we should instead be
converting all existing uses of usleep to a more modern interface.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]