Overview
| Artifact ID: | 042bcadfa14be3e12679a9e7f7dea4ccf653bee1 |
|---|---|
| Ticket: | 1712723fffffffffffffffffffffffffffffffff
joinable threads die on Solaris 64-bit |
| User & Date: | vasiljevic on 2007-05-29 23:25:31 |
Changes
- icomment:
Logged In: YES user_id=95086 Originator: NO Try rewriting the Tcl_JoinThread in Tcl to look like int 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; unsigned long long dummy; result = pthread_join ((pthread_t) threadId, (VOID**) &dummy); *state = 0; return (result == 0) ? TCL_OK : TCL_ERROR; #else return TCL_ERROR; #endif so, effectively, ditch the error state of the thread, just pass the pthread_join a dummy state and see if this helps. - login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"