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


On Thu, Oct 31, 2002 at 01:02:29PM -0800, Richard Henderson wrote:
> 
> The tx5900 is one of the mips parts that doesn't have ll/sc,
> or indeed any atomic operations at all, so you have to have
> help from the OS.
> 
> Sony has a library through which you can create, lock and 
> unlock mutex objects.  If you don't destroy one of these,
> you leak it.
> 
> Eric has more details if you need them.

Okay, but what I don't get is why this translates to a requirement
that every registered TSD destructor hook call back into gthr.h.
In fact, I don't see what TSD has to do with mutexes at all.

zw


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