[PATCH] posix gthreads additions for c++0x thread library
Chris Fairles
chris.fairles@gmail.com
Tue Aug 19 12:42:00 GMT 2008
On Mon, Aug 18, 2008 at 6:02 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Chris Fairles wrote:
>>
>> But is _GTHREAD_HAS_COND alone appropriate? There are other things
>> like __gthread_time_t, sched_yield, pthread_self that aren't related
>> but are still required.
>
> Exactly.
>>
>> I like the __GTHREADS_CXX0X idea. Simply
>> define that in any gthr-*.h header that defines ALL required types and
>> functions that the c++0x library uses. Something like the attached
>> (untested)?
>>
>
> Right. I meant exactly something like that. Could you please test it? And of
> course move the check itself in configure.ac *outside* native, before the
> conditional, it can definitely run both for native and crosses.
>
> We should ask to Mark whether he agrees with the name of the new macro, or
> we should have something more fine-grained...
>
> Paolo.
>
Attached updated patch with changelog for v3 configuration. Bootstrapped x86_64.
Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Changelog_gthr_v3_configury_bits.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080819/1da37ca7/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gthr-v3-configury-bits.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080819/1da37ca7/attachment-0001.txt>
More information about the Gcc-patches
mailing list