[Gc] using threads that were not created by GC_pthread_create()

Fergus Henderson fjh@cs.mu.oz.au
Fri, 25 Jul 2003 12:26:44 +1000


On 25-Jul-2003, Fergus Henderson <fjh@cs.mu.OZ.AU> wrote:
> On 24-Jul-2003, eric lindvall <eric@5stops.com> wrote:
> > Unfortunatly, because I am only writing a module for this application, I
> > cannot override the applications pthread_create().
> 
> You can override the application's pthread_create() by using
> GNU ld's `--wrap' option.

Sorry, my reading comprehension skills failed me :-(
Using `--wrap' will only help if you relink the application,
which you probably don't want to do.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.