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

Check-in [48693e32e0]

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
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 48693e32e0f3133685eb63dd86101d9cded97d33
User & Date: das on 2006-05-27 05:23:03.000
Other Links: branch diff | manifest | tags
Context
2006-05-30
00:29
* generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allow placement in unbraced outer if/... check-in: 4bef433d45 user: hobbs tags: core-8-4-branch
2006-05-27
05:23
* macosx/tclMacOSXNotify.c: implemented pthread_atfork() handler that * unix/tcl.m4 (Darwin): ... check-in: 48693e32e0 user: das tags: core-8-4-branch
2006-05-26
19:20
autoconf-2.13 check-in: 7d8984760d user: das tags: core-8-4-branch
Changes