Manifest of check-in
[48693e32e0]
- * macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that
* unix/tcl.m4 (Darwin): recreates CoreFoundation state and notifier
thread in the child after a fork(). Note that pthread_atfork() is
available starting with Tiger only. Because vfork() is used by the core
on Darwin, [exec]/[open] are not affected by this fix, only extensions
or embedders that call fork() directly (such as TclX). However, this
only makes fork() safe from corefoundation tcl with --disable-threads;
as on all platforms, forked children may deadlock in threaded tcl due to
the potential for stale locked mutexes in the child. [Patch 923072]
* unix/configure: autoconf-2.59
by
das on
2006-05-27 05:23:03.
B 7d8984760dee7f0938c2b8eb75f6e69a3dc8b668
C \t*\smacosx/tclMacOSXNotify.c:\simplemented\spthread_atfork()\shandler\sthat\n\t*\sunix/tcl.m4\s(Darwin):\s\s\s\s\srecreates\sCoreFoundation\sstate\sand\snotifier\n\tthread\sin\sthe\schild\safter\sa\sfork().\sNote\sthat\spthread_atfork()\sis\n\tavailable\sstarting\swith\sTiger\sonly.\sBecause\svfork()\sis\sused\sby\sthe\score\n\ton\sDarwin,\s[exec]/[open]\sare\snot\saffected\sby\sthis\sfix,\sonly\sextensions\n\tor\sembedders\sthat\scall\sfork()\sdirectly\s(such\sas\sTclX).\sHowever,\sthis\n\tonly\smakes\sfork()\ssafe\sfrom\scorefoundation\stcl\swith\s--disable-threads;\n\tas\son\sall\splatforms,\sforked\schildren\smay\sdeadlock\sin\sthreaded\stcl\sdue\sto\n\tthe\spotential\sfor\sstale\slocked\smutexes\sin\sthe\schild.\s[Patch\s923072]\n\t*\sunix/configure:\sautoconf-2.59\n
D 2006-05-27T05:23:03
F ChangeLog ae6ec7ef2959662ef36c5f37590f91b8742f3d8b
F macosx/tclMacOSXNotify.c b7e2846e0235417e63ad69a272a3de421a18b99b
F unix/configure 64afc8d34928d2093c0a9bddacab9d32652d52b7 x
F unix/tcl.m4 4dcecb3d84651aa526f2aa505349536b837e1820
P 7d8984760dee7f0938c2b8eb75f6e69a3dc8b668
U das
Z 2407ce1b0a789f167bd237a262edb67d