[Gc] [PATCH] define HANDLE_FORK on unix platforms with pthreads
ok at cs.otago.ac.nz
Sun Feb 19 15:38:04 PST 2012
On 19/02/2012, at 9:56 AM, Andy Wingo wrote:
> On Fri 17 Feb 2012 21:45, Ivan Maidanski <ivmai at mail.ru> writes:
>> 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?
pthread_atfork was in Solaris 2.10 (which I'm still using) and of course
remains in OpenSolaris (and its forks) and Solaris 2.11. It's also in
Mac OS X 10.6. According to a compatibility list I've been building,
it's in Linux 2.6 and OpenBSD 4.7, and HP-UX 11i. I have some AIX manuals
but haven't integrated those yet, sorry.
More information about the Gc