[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: GNULib Module nanosleep Breaks CVS Build On Windows
From: |
Derek Robert Price |
Subject: |
[Bug-gnulib] Re: GNULib Module nanosleep Breaks CVS Build On Windows |
Date: |
Wed, 12 May 2004 09:05:27 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Incidentally, Conrad informed me a few moments ago that there isn't a
usleep on Windows - CVS had a replacement usleep tucked away in its
Windows directory which used a native "Sleep()" function that would
sleep at millisecond resolution. Since the Windows select() function
available via <winsock.h> has microsecond resolution, that is probably
preferable.
Derek
Conrad T. Pino wrote:
>Hi All,
>
>Derek Price of the CVS Project http://www.cvshome.org/
>recently pulled GNULib updates into CVS source tree and
>our Windows build using Visual Studio C++ 6.0 tool set
>broke. This is what we know so far:
>
>http://mail.gnu.org/archive/html/bug-cvs/2004-05/msg00127.html
>
>and Derek's feedback follows:
>
>>From: Derek Robert Price [mailto:address@hidden
>>Sent: Tuesday, May 11, 2004 17:07
>>To: Conrad T. Pino
>>Cc: Bug CVS; Dennis Jones
>>Subject: Re: Windows Build Killer: lib/nanosleep.c
>>
>>>Function "nanosleep" references can be fixed in compile
>>>and link with a combination of
>>>
>>>A. "#include <winsock.h>" in "lib/nanosleep.c" file,
>>
>>Hrm. It's probably worth running this one by the GNULIB folks.
>>Sometimes for a single prototype they will choose to just declare it
>>themselves in the source file.
>>
>>I might opt to fix nanosleep to honor HAVE_USLEEP instead and use a
>>system usleep when one can be found. Since we were previously
>>defining HAVE_USLEEP in windows-NT/config.h, I would assume that
>>Windows has one. You should run that by the GNULIB folks too.
>>
>>>B. "#define nanosleep rpl_nanosleep" in "config.h" file.
>>
>>This should be fine.
>>
>>Derek
>
>
>Best regards,
>
>Conrad Pino
>
- --
*8^)
Email: address@hidden
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAoiEWLD1OTBfyMaQRAs69AJ9Rqxw2FL/kfF/ZGXt826mt1DhQAwCg/tgZ
PSjTcow883qgCMZjc+kANDg=
=E3rf
-----END PGP SIGNATURE-----
- [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12
- [Bug-gnulib] Re: GNULib Module nanosleep Breaks CVS Build On Windows,
Derek Robert Price <=
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12
- RE: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Jim Meyering, 2004/05/12
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/12
- RE: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/13
- Re: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Derek Robert Price, 2004/05/13
- RE: [Bug-gnulib] GNULib Module nanosleep Breaks CVS Build On Windows, Conrad T. Pino, 2004/05/12