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]

Re: [PATCH] posix gthreads additions for c++0x thread library


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.


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