Re: [Gc] [PATCH] define HANDLE_FORK on unix platforms with pthreads

Ivan Maidanski ivmai at mail.ru
Fri Feb 17 12:45:51 PST 2012


Hi Andy,

It seems you're proposing the right thing but I guess your patch could break build for some targets (there are some many Unix targets supported like xBSD, RTEMS, NaCl, Android, Darwin, DG/UX, HP/UX, Aix, Irix, Solaris... - does at least pthread_atfork exist everywhere?

Regards.

17 02 2012, 18:55 Andy Wingo <wingo at pobox.com>:
> Hi,
> 
> The attached patch enables HANDLE_FORK on UNIX platforms with pthreads.
> I think it's important to enable by default because in situations where
> you have a shared libgc, built by a third party, you need the most
> robust configuration by default.
> 
> Regards,
> 
> Andy
> 
> 
> 
> -- 
> http://wingolog.org/
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/



More information about the Gc mailing list