summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-07 08:35:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-09-07 08:35:42 (GMT)
commit00e36faa85d26704fb289ee399cad3c810c0eaa2 (patch)
tree2f64af2210f82d520df200ce04199323c816d9b7
parentdf364c80db2c62f74714bd0ec26fae4d552c837e (diff)
downloadtcl-00e36faa85d26704fb289ee399cad3c810c0eaa2.zip
tcl-00e36faa85d26704fb289ee399cad3c810c0eaa2.tar.gz
tcl-00e36faa85d26704fb289ee399cad3c810c0eaa2.tar.bz2
Fix for [5d170b5ca5] now available for widespread testing (incl. HPUX and OSX)
-rw-r--r--unix/tclUnixNotfy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index f942329..90f478b 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -196,7 +196,7 @@ static Tcl_ThreadId notifierThread;
#ifdef TCL_THREADS
static void NotifierThreadProc(ClientData clientData);
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
+#if defined(HAVE_PTHREAD_ATFORK)
static int atForkInit = AT_FORK_INIT_VALUE;
static void AtForkPrepare(void);
static void AtForkParent(void);
@@ -363,7 +363,7 @@ Tcl_InitNotifier(void)
}
pthread_mutex_lock(&notifierInitMutex);
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
+#if defined(HAVE_PTHREAD_ATFORK)
/*
* Install pthread_atfork handlers to clean up the notifier in the
* child of a fork.
@@ -1345,7 +1345,7 @@ NotifierThreadProc(
TclpThreadExit(0);
}
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
+#if defined(HAVE_PTHREAD_ATFORK)
/*
*----------------------------------------------------------------------
*