diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-10-29 08:17:19 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-10-29 08:17:19 (GMT) |
| commit | b71a1f47ac2a88efda3ff903f50a151548ec0e80 (patch) | |
| tree | c3f39f73eee4a73a274f62206d925afe860ed737 /unix/tclUnixNotfy.c | |
| parent | 9dafd1805aac797afed0391981ab047e24214d19 (diff) | |
| parent | ba6e389573e0e71f8363e6a0c64e1dc53b4d5012 (diff) | |
| download | tcl-b71a1f47ac2a88efda3ff903f50a151548ec0e80.zip tcl-b71a1f47ac2a88efda3ff903f50a151548ec0e80.tar.gz tcl-b71a1f47ac2a88efda3ff903f50a151548ec0e80.tar.bz2 | |
Workaround for [414d10346b]: tcl 8.5.15/8.6.1(threaded build) hangs in exec on HP-UX
Diffstat (limited to 'unix/tclUnixNotfy.c')
| -rw-r--r-- | unix/tclUnixNotfy.c | 6 |
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(¬ifierMutex); -#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) /* *---------------------------------------------------------------------- * |
