diff options
| author | Joe Mistachkin <joe@mistachkin.com> | 2003-05-13 09:57:38 (GMT) |
|---|---|---|
| committer | Joe Mistachkin <joe@mistachkin.com> | 2003-05-13 09:57:38 (GMT) |
| commit | 9e78333604ee1fc0dbde33d876886a44f0f544e5 (patch) | |
| tree | 916fee9988e480bc11268aa83cd81b06c59ed51d /unix | |
| parent | 7d7406792557a9e28681aea33893e74791b72bc3 (diff) | |
| download | tcl-9e78333604ee1fc0dbde33d876886a44f0f544e5.zip tcl-9e78333604ee1fc0dbde33d876886a44f0f544e5.tar.gz tcl-9e78333604ee1fc0dbde33d876886a44f0f544e5.tar.bz2 | |
fix for [Bug 732477]
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..427a974 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; |
