Overview
| Comment: | * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create notifier thread lazily upon first call to Tcl_WaitForEvent() rather than in Tcl_InitNotifier(). Allows calling exeve() in processes where the event loop has not yet been run (Darwin's execve() fails in processes with more than one thread), in particular allows embedders to call fork() followed by execve(), previously the pthread_atfork() child handler's call to Tcl_InitNotifier() would immediately recreate the notifier thread in the child after a fork. * macosx/tclMacOSXNotify.c (Tcl_InitNotifier): add support for * unix/tclUnixFCmd.c (DoRenameFile, CopyFileAtts): weakly importing * unix/tclUnixInit.c (TclpSetInitialEncodings): symbols not available on OSX 10.2 or 10.3, enables binaires built on later OSX versions to run on earlier ones. * macosx/README: document how to enable weak-linking; cleanup. * unix/tclUnixPort.h: add support for weak-linking; conditionalize AvailabilityMacros.h inclusion; only disable realpath on 10.2 or earlier when threads are enabled. * unix/tclLoadDyld.c (TclpLoadMemoryGetBuffer): change runtime Darwin * unix/tclUnixInit.c (TclpInitPlatform): release check to use global initialized once. * unix/tclUnixFCmd.c (DoRenameFile, TclpObjNormalizePath): add runtime Darwin release check to determine if realpath is threadsafe. * unix/configure.in: add check on Darwin for compiler support of weak * unix/tcl.m4: import and for AvailabilityMacros.h header; move Darwin specific checks & defines that are only relevant to the tcl build out of tcl.m4; restrict framework option to Darwin; cleanup quoting. * unix/configure: autoconf-2.13 * unix/tclLoadDyld.c (TclpLoadMemory): * unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned comparison and other warnings from gcc4 -Wextra. |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-4-branch |
| Files: | files | file ages | folders |
| SHA1: |
fc99321d6695fb452519db28ea6020c0 |
| User & Date: | das on 2006-07-20 06:21:41.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2006-07-20
| ||
| 07:39 | cleanup quoting and whitespace check-in: 92c414d8d1 user: das tags: core-8-4-branch | |
| 06:21 | * macosx/tclMacOSXNotify.c (Tcl_InitNotifier, Tcl_WaitForEvent): create notifier thread lazily upo... check-in: fc99321d66 user: das tags: core-8-4-branch | |
|
2006-07-14
| ||
| 16:20 | * unix/tclUnixPort.h: Added the inclusion of <AvailabilityMacros.h>. The missing header caused ... check-in: 35daae8037 user: andreas_kupries tags: core-8-4-branch | |
Changes
Modified ChangeLog
from [555e44b34d]
to [b321e01a9a].
[diff]
Modified macosx/README
from [3cc5e67747]
to [c2972bfc7b].
[diff]
Modified macosx/tclMacOSXNotify.c
from [b7e2846e02]
to [b8747f5b73].
[diff]
Modified unix/configure
from [64afc8d349]
to [d7c0916d7a].
[diff]
Modified unix/configure.in
from [e9d67b51d0]
to [938f60a2df].
[diff]
Modified unix/tcl.m4
from [4dcecb3d84]
to [abb88dc849].
[diff]
Modified unix/tclLoadDyld.c
from [d951f9a099]
to [ea7eadd0e1].
[diff]
Modified unix/tclUnixFCmd.c
from [bbaae15bc8]
to [4f1f0b6d05].
[diff]
Modified unix/tclUnixInit.c
from [ed6c4454ae]
to [3f06dcb1af].
[diff]
Modified unix/tclUnixPipe.c
from [1909502dfd]
to [3eb0ceead1].
[diff]
Modified unix/tclUnixPort.h
from [54cff2f3fd]
to [bc6f7ba04f].
[diff]