This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new trunk dependence on nanosleep()


On 12 November 2015 at 17:03, Jonathan Wakely wrote:
> On 12 November 2015 at 16:38, Tim Prince wrote:
>> I see that the current trunk chooses to configure so as to depend on a
>> compatible nanosleep() regardless of the ability of the target system to
>> support that (e.g. cygwin64).  I haven't been able to see whether there
>> is a configure option or a prerequisites download installation to take
>> care of it.
>
> We've been using nanosleep there pretty much unchanged for about three years.

For the configure check see GLIBCXX_ENABLE_LIBSTDCXX_TIME which tests
for nanosleep, and falls back to usleep or sleep.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]