Skip to content
Tcl Source Code Check-in [b5827f9228]
Login

Check-in [b5827f9228]

Overview
Comment: * 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 * unix/tclConfig.h.in: autoheader-2.59
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b5827f92284acd85c0238dca6591500033b9bde4
User & Date: das on 2006-05-27 05:22:57.000
Other Links: manifest | tags
Context
2006-05-30
00:30
* generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allow placement in unbraced outer if/... check-in: ce66481412 user: hobbs tags: trunk
2006-05-27
05:22
* macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that * unix/tcl.m4 (Darwin): ... check-in: b5827f9228 user: das tags: trunk
2006-05-26
19:13
autoconf-2.59 check-in: be5f67af4f user: das tags: trunk
Changes