diff options
author | redman <redman> | 1999-07-31 01:55:48 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-31 01:55:48 (GMT) |
commit | 7736a343edbd9a5f2feb71878361bc0f1f81640b (patch) | |
tree | 503fb1eb0c7f61b311f589b8de26f9df5ec6a452 /unix/tclUnixThrd.c | |
parent | 4440b020d403deecad8037fdcbac009f40f8296a (diff) | |
download | tcl-7736a343edbd9a5f2feb71878361bc0f1f81640b.zip tcl-7736a343edbd9a5f2feb71878361bc0f1f81640b.tar.gz tcl-7736a343edbd9a5f2feb71878361bc0f1f81640b.tar.bz2 |
* unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.
Patch from James Dennett. [Bug: 2450]
* tests/info.test: Enable test for tclParse.c change (info
complete).
Diffstat (limited to 'unix/tclUnixThrd.c')
-rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index cb66d08..ac0804e 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -77,7 +77,9 @@ TclpThreadCreate(idPtr, proc, clientData) pthread_attr_init(&attr); pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM); if (pthread_create((pthread_t *)idPtr, &attr, - (void * (*)())proc, (void *)clientData) < 0) { + (void * (*)())proc, (void *)clientData) && + pthread_create((pthread_t *)idPtr, NULL, + (void * (*)())proc, (void *)clientData)) { result = TCL_ERROR; } else { result = TCL_OK; |