Re: [Gc] Re: (Win32) attempt to unregister first GC thread will causeacrash.

Ivan Maidanski ivmai at
Fri Dec 18 05:32:24 PST 2009

Jean-Claude Beaudoin <jean.claude.beaudoin at> wrote:
> To answer your question Ivan, yes the patch as I submitted it at the
> beginning of this exchange is all that I need to make my code work.
> It has been working for a few weeks now as far as I can tell.

Ok. Fixed.

> Cheers,
> Jean-Claude
> Ivan Maidanski wrote:
> > Hi!
> > Jean-Claude Beaudoin <jean.claude.beaudoin at> wrote:
> >> Ivan Maidanski wrote:
> >>> Hi!
> >>> "Boehm, Hans" <hans.boehm at> wrote:
> >>>> Under normal circumstances, this shouldn't be an issue, right?  The structure for the main thread should be statically allocated when the GC is initialized.  And GC_unregister_my_thread() shouldn't be called on the main thread.
> >>>>
> >>>> The patch looks fine.  I just wonder whether there is correct client code that really needs it.
> >>>>
> >>  >> Hans
> >>
> >> The situation that led me to this came up while debugging the shutdown code
> >> ...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdwgc-ivmai-225.diff
Type: application/octet-stream
Size: 5410 bytes
Desc: not available
Url :

More information about the Gc mailing list