summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2013-10-29 20:08:41 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2013-10-29 20:08:41 (GMT)
commit56d3c408ad4c6e86229064cfa5b0d415b2a79914 (patch)
tree3536ead9422ebee103f7072d4e988080a6c61f57 /unix/tclUnixNotfy.c
parent3377f58f6a9d40e83a0992ff5cde2fc4c4bea9a4 (diff)
parentb71a1f47ac2a88efda3ff903f50a151548ec0e80 (diff)
downloadtcl-56d3c408ad4c6e86229064cfa5b0d415b2a79914.zip
tcl-56d3c408ad4c6e86229064cfa5b0d415b2a79914.tar.gz
tcl-56d3c408ad4c6e86229064cfa5b0d415b2a79914.tar.bz2
merge trunk
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 254614f..b234667 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -194,7 +194,7 @@ static Tcl_ThreadId notifierThread;
#ifdef TCL_THREADS
static void NotifierThreadProc(ClientData clientData);
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__)
+#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
static int atForkInit = 0;
static void AtForkPrepare(void);
static void AtForkParent(void);
@@ -290,7 +290,7 @@ Tcl_InitNotifier(void)
*/
Tcl_MutexLock(&notifierMutex);
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__)
+#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
/*
* Install pthread_atfork handlers to reinitialize the notifier in the
* child of a fork.
@@ -1313,7 +1313,7 @@ NotifierThreadProc(
TclpThreadExit(0);
}
-#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__)
+#if defined(HAVE_PTHREAD_ATFORK) && !defined(__APPLE__) && !defined(__hpux)
/*
*----------------------------------------------------------------------
*