]> granicus.if.org Git - gc/commit
Prevent POSIX fork if mprotect_thread is started (Darwin)
authorIvan Maidanski <ivmai@mail.ru>
Thu, 22 Nov 2012 04:39:20 +0000 (08:39 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 22 Nov 2012 09:43:09 +0000 (13:43 +0400)
commit37d8fb73e7210509bdc5f3e69b1ec5f8dcc6bda0
treed47cc9ab866629c74fcd41b3b2ffbc99e762fec9
parent0a420dc3f8b69a5675b504f7975d170ee79f1ee2
Prevent POSIX fork if mprotect_thread is started (Darwin)

* pthread_support.c (GC_atfork_prepare): Abort if GC_dirty_maintained
is set for Darwin (only if MPROTECT_VDB) since graceful suspend/resume
of mprotect_thread is unsupported at present.
pthread_support.c