Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c55f6d07d1dbb799b0c7964d9d96735603a1f822
Ticket: 1712723fffffffffffffffffffffffffffffffff
joinable threads die on Solaris 64-bit
User & Date: hobbs on 2007-05-30 06:36:06
Changes

  1. closedate changed to: "2007-05-29T23:36:06"
  2. closer changed to: "hobbs"
  3. icomment:
    Logged In: YES 
    user_id=72656
    Originator: NO
    
    Never mind - it turns out that the state* may be NULL, so it needs the check ...
    
    #ifdef TCL_THREADS
        int result;
        unsigned long retcode;
    
        result = pthread_join((pthread_t) threadId, (void**) &retcode);
        if (state) {
    *state = (int) retcode;
        }
        return (result == 0) ? TCL_OK : TCL_ERROR;
    #else
    
    and now things work.  I am committing that for 8.4 and head.
    
    
  4. login: "hobbs"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "hobbs"