This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: Allow non-arithmetic type for pthread_t



[I wrote:]
>> However, I would like to observe an outright portability bug in this
>> code with or without my proposed patch.

[Bryce wrote:]
> Indeed! This patch ought to fix that. I will check it in to mainline and 
> branch.

I can confirm that your patch works for me.  Thanks for reworking it.
I can offer no comment on the deeper issues of Hans' followup with one
exception:

[Hans' wrote:]
> This patch gets fairly ugly on Itanium...

For whatever it is worth, the Itanium doesn't even use the
SLOW_PTHREAD_SELF code path.  But I think I see the greater point of
describing the exact requirements across the locks.h API.

Regards,
Loren


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