summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
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)
commitb29f3e80a5707d24440e6aa6e8683afef8d01ede (patch)
tree2f64af2210f82d520df200ce04199323c816d9b7 /unix/tclUnixNotfy.c
parent05956b6b36e17a834210d8c5640f9b359efda7a1 (diff)
downloadtcl-b29f3e80a5707d24440e6aa6e8683afef8d01ede.zip
tcl-b29f3e80a5707d24440e6aa6e8683afef8d01ede.tar.gz
tcl-b29f3e80a5707d24440e6aa6e8683afef8d01ede.tar.bz2
Fix for [5d170b5ca5] now available for widespread testing (incl. HPUX and OSX)
Diffstat (limited to 'unix/tclUnixNotfy.c')
-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)
/*
*----------------------------------------------------------------------
*