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]

Re: PATCH: gthr-dce.h update for v3 thread compatibility


> Looks OK to me (but note that I can't approve it).  Although I wonder
> about this:
> 
> 	(__gthread_key_delete): Operation is unsupported and arguments UNUSED.
> 
> It seems that must have compiled on some platform and I see that the
> mainline version keys this implementation off macros (I assume) which
> are defined in system headers.

Actually, I did the main patch for this.  The macro was setup to detect
the presence of pthread_key_delete in the hpux 11 version of sys/pthread.h.
However, subsequently I realized that the hpux 11 pthread.h file defines
a full posix implementation, and hpux 11 should therefore use gthr-posix.h.
Currently, config.gcc disables threads on hpux 11.

The function pthread_key_delete is not available under hpux 10.X.  I am
not sure about any of the previous versions of hpux but thread support
is disabled for them so it is not an issue.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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