diff options
author | mistachkin <mistachkin@noemail.net> | 2003-05-13 10:16:16 (GMT) |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2003-05-13 10:16:16 (GMT) |
commit | 952091177dce6cc09a4da93de905a8fa2e9f6431 (patch) | |
tree | 1f0a1e95565618ea475808d459aed5e188a41f47 /unix | |
parent | 8ef60457f85690a31937e41eb5d46f148735a16a (diff) | |
download | tcl-952091177dce6cc09a4da93de905a8fa2e9f6431.zip tcl-952091177dce6cc09a4da93de905a8fa2e9f6431.tar.gz tcl-952091177dce6cc09a4da93de905a8fa2e9f6431.tar.bz2 |
fix for [Bug 732477]
FossilOrigin-Name: 386a7f85ff98da1e3e5464cf7b778f1df34f84b4
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixThrd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index d5f1e54..515ef4f 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -161,16 +161,16 @@ Tcl_CreateThread(idPtr, proc, clientData, stackSize, flags) */ int -Tcl_JoinThread(id, state) - Tcl_ThreadId id; /* Id of the thread to wait upon */ - int* state; /* Reference to the storage the result - * of the thread we wait upon will be - * written into. */ +Tcl_JoinThread(threadId, state) + Tcl_ThreadId threadId; /* Id of the thread to wait upon */ + int* state; /* Reference to the storage the result + * of the thread we wait upon will be + * written into. */ { #ifdef TCL_THREADS int result; - result = pthread_join ((pthread_t) id, (VOID**) state); + result = pthread_join ((pthread_t) threadId, (VOID**) state); return (result == 0) ? TCL_OK : TCL_ERROR; #else return TCL_ERROR; |