Exposing gthreads, and making exceptions safe under cthreads
Martin von Loewis
martin@mira.isdn.cs.tu-berlin.de
Tue Sep 22 14:32:00 GMT 1998
> 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
More information about the Gcc
mailing list