Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 838f4528a408e54f8b179d88c0df175d0442c97c
Ticket: 770053ffffffffffffffffffffffffffffffffff
Tcl_CreateThread breaks notifier thread refcount
User & Date: vasiljevic on 2004-06-21 18:29:23
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    There is a patch which rectifies this problem. The patch
    has been taken against the core-8-4-branch.
    Summary:
      * renamed Tcl_CreateThread in to platfrom-specific
        TclpThreadCreate (both win and unix)
      * added new Tcl_CreateThread in tclEvent.c
      * added new NewThreadProc call which is used as
        the bootstrap function for every new thread created
        by the Tcl_CreateThread. Purpose of this function
        is to perform the Tcl notifier init for a thread and then
        jump into the user-supplied thread-start function.
    
    If nobody objects, I will commit this to both core-8-4-branch
    and current head.
    
    
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"