[495] in Pthreads mailing list archive
Re: pthreads and conservative garbage collection
daemon@ATHENA.MIT.EDU (Ian Piumarta)
Tue Nov 12 11:01:24 1996
Date: Tue, 12 Nov 1996 16:21:51 +0100
From: Ian Piumarta <piumarta@prof.inria.fr>
To: cef@geode.geodesic.com
Cc: pthreads@MIT.EDU
In-Reply-To: <2.2.32.19961111145353.002dc468@192.9.200.1> (message from
Charles Fiterman on Mon, 11 Nov 1996 14:53:53 +0000)
> We have a conservative garbage collector and already have NT threads and
> solaris threads versions. I am looking at porting it to pthreads.
>
> I need to be able to stop and restart all tasks but one. I would like to
> discover where the stack top and bottom are for each thread so I can only
> scan the active area.
>
> We assume that anything which looks like a pointer is a pointer so we don't
> need to know the format of the stack etc but we do much better if we can
> limit our scan to the active area.
I have ported Boehm's conservative GC to pthreads. It needs exactly the same
information that you cite in your message. I am going to make this port
freely available on our FTP server today, or within the next couple of days.
You might like to look at the sources there to see how I extracted this
information.
[I will post an announcement to this list when the port is available.]
Regards,
Ian
------------------------------- projet SOR -------------------------------
Ian Piumarta, INRIA Rocquencourt, Internet: Ian.Piumarta@inria.fr
BP105, 78153 Le Chesnay Cedex, FRANCE Voice: +33 1 39 63 52 87
----------------------- Systemes a Objets Repartis -----------------------