This is the mail archive of the gcc-patches@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] |
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
Attachment:
Changelog_gthr_v3_configury_bits.txt
Description: Text document
Attachment:
gthr-v3-configury-bits.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |