Is libstdcxx-time still experimental?

Václav Zeman vhaisman@gmail.com
Wed Oct 31 06:39:00 GMT 2012


On 10/31/2012 01:57 AM, Jonathan Wakely wrote:
> On 26 August 2012 18:20, Jonathan Wakely wrote:
>>> I'm working on a patch to enable it by default and to define
>>> this_thread::sleep_xxx and this_thread::yield unconditionally.
>>
>> For anyone interested, here's a work-in-progress patch that enables
>> this_thread::sleep_for() and this_thread::yield() unconditionally, so
>> those APIs are complete even if --enable-libstdcxx-time isn't used.
> 
> I'm planning to commit something very similar to this before the end
> of stage 1, but with __sleep_for always exported from libstdc++.so to
> avoid --enable-libstdcxx-time changing the library API.

>     	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for usleep and
>     	sleep if nanosleep is not available. Bump libtool revision.

The configure code could also try to look for clock_nanosleep().

-- 
VZ


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 291 bytes
Desc: OpenPGP digital signature
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20121031/18b88b75/attachment.sig>


More information about the Libstdc++ mailing list