This is the mail archive of the gcc@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: Exposing gthreads, and making exceptions safe under cthreads


> It seems to me that you could also implement this using a hash table
> (or moral equivalent) in gthr-mach.h.  That is, nothing says you must
> use the underlying thread system's mechanism for thread-specific data.

Out of curiosity: How would this work?

It seems that you need *some* thread-specific state to get the key (or
whatever) to the hash table?

Martin


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