This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exposing gthreads, and making exceptions safe under cthreads
- To: tromey at cygnus dot com
- Subject: Re: Exposing gthreads, and making exceptions safe under cthreads
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 22 Sep 1998 23:32:11 +0200
- CC: egcs at cygnus dot com
- References: <199809200655.XAA26965.cygnus.egcs@aldrington.ppp.cs.sfu.ca> <m1emt47jxx.fsf@creche.cygnus.com>
> 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