Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 08c4a21a3caa719c40db80fd219b87f80795d4c4
Ticket: 1381436fffffffffffffffffffffffffffffffff
threaded tcl crashes
User & Date: yahalom on 2005-12-20 21:40:50
Changes

  1. icomment:
    Logged In: YES 
    user_id=130120
    
    I still get an exception but this time in a different place.
       
    TclpGetPid(
        Tcl_Pid pid)/* The HANDLE of the child 
    process. */
    {
        ProcInfo *infoPtr;
    
        Tcl_MutexLock(&pipeMutex);
        for (infoPtr = procList; infoPtr != NULL; infoPtr = 
    infoPtr->nextPtr) {
    ==>if (infoPtr->hProcess == (HANDLE) pid) {
    unsigned long processId = infoPtr-
    >dwProcessId;
        Tcl_MutexUnlock(&pipeMutex);
        return processId;
    }
        }
        Tcl_MutexUnlock(&pipeMutex);
        return (unsigned long) -1;
    }
    
    
    
  2. login: "yahalom"
  3. mimetype: "text/plain"
  4. username: "yahalom"