summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2004-06-22 13:08:57 (GMT)
committervasiljevic <zv@archiware.com>2004-06-22 13:08:57 (GMT)
commit46b6468bc248717205ebb258ae6af7287fa77d22 (patch)
tree4a186fef042b244b7baa23990f6ebda5fb241e00 /unix
parenta7d93e405d7c52890ac2b6451680ed32574c2f18 (diff)
downloadtcl-46b6468bc248717205ebb258ae6af7287fa77d22.zip
tcl-46b6468bc248717205ebb258ae6af7287fa77d22.tar.gz
tcl-46b6468bc248717205ebb258ae6af7287fa77d22.tar.bz2
Integrated fix for Tcl Bug #770053 from core-8-4-branch
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixNotfy.c4
-rw-r--r--unix/tclUnixThrd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c
index 679da4d..6c0a6ca 100644
--- a/unix/tclUnixNotfy.c
+++ b/unix/tclUnixNotfy.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixNotfy.c,v 1.15 2004/04/06 22:25:57 dgp Exp $
+ * RCS: @(#) $Id: tclUnixNotfy.c,v 1.16 2004/06/22 13:09:00 vasiljevic Exp $
*/
#include "tclInt.h"
@@ -207,7 +207,7 @@ Tcl_InitNotifier()
Tcl_MutexLock(&notifierMutex);
if (notifierCount == 0) {
- if (Tcl_CreateThread(&notifierThread, NotifierThreadProc, NULL,
+ if (TclpThreadCreate(&notifierThread, NotifierThreadProc, NULL,
TCL_THREAD_STACK_DEFAULT, TCL_THREAD_NOFLAGS) != TCL_OK) {
Tcl_Panic("Tcl_InitNotifier: unable to start notifier thread");
}
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index 56745b0..297fc3b 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -65,7 +65,7 @@ static pthread_mutex_t *allocLockPtr = &allocLock;
/*
*----------------------------------------------------------------------
*
- * Tcl_CreateThread --
+ * TclpThreadCreaet --
*
* This procedure creates a new thread.
*
@@ -80,7 +80,7 @@ static pthread_mutex_t *allocLockPtr = &allocLock;
*/
int
-Tcl_CreateThread(idPtr, proc, clientData, stackSize, flags)
+TclpThreadCreate(idPtr, proc, clientData, stackSize, flags)
Tcl_ThreadId *idPtr; /* Return, the ID of the thread */
Tcl_ThreadCreateProc proc; /* Main() function of the thread */
ClientData clientData; /* The one argument to Main() */