Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 80e7aae7cb852579a5ed6b9735783e35d0c58ebf
Ticket: 749639ffffffffffffffffffffffffffffffffff
exit fom child process hangs if --enable-threads set
User & Date: gnepp on 2003-07-02 05:22:28
Changes

  1. icomment:
    Logged In: YES 
    user_id=698369
    
    I think this is slightly wrong --
        Tcl_ConditionFinalize(&(tsdPtr->waitCV));
    is no longer called in the child process but still needs to be.
    
    An alternative patch would be to set notifierCount = 0 post-
    fork in the child, using a pthread_atfork() handler, but I don't 
    know how portable that is.
    
    Andrei
    
    
  2. login: "gnepp"
  3. mimetype: "text/plain"
  4. username: "gnepp"