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: [basic-improvements] Remove __gthread_key_dtor


> > Hrm. I was noticing that other ports use this method and that's why I
> > did - I also didn't see a way for it to work otherwise since there's no
> > general .c mechanism for it.
> 

Right. Wasn't thinking clearly. :)


> If the underlying API doesn't support this, you're out of luck.  But
> if there _is_ a way to get a callback run at thread exit time, you can
> just set one up in your init-once routine.
> 
> Take a look at gthr-vxworks.h, config/vxlib.c, and config/t-vxworks on
> the gcc-3_4-basic-improvements-branch (after I commit them, which will
> happen in the next twenty minutes or so) -- they should give you some
> ideas.
> 

Cool. Will do.

Thanks.

-eric

-- 
Yeah, I used to play basketball...


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