From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: "Melissa O'Neill" Cc: egcs@cygnus.com Subject: Re: Exposing gthreads, and making exceptions safe under cthreads Date: Mon, 21 Sep 1998 03:48:00 -0000 Message-id: References: <199809200655.XAA26965@aldrington.ppp.cs.sfu.ca> X-SW-Source: 1998-09/msg01183.html Melissa O'Neill writes: > It's also possible to provide a replacement cthreads header that > redirects cthreads names to gthreads names so that cthreads programs > can transparently use the gthreads library instead, with zero work on > the part of the user. It might be possible to install this header as a replacement of the standard cthreads header (if there is one; I'm just guessing) in the gcc include PATH, so that it wraps the standard cthreads header redirecting the calls as appropriate. Another alternative is to modify gcc so that it internally handles the gthreads calls as built-ins or aliases to gthreads functions. -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil