Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5fc3d08f2d6d2a854ea81888bad3767905e29e89
Ticket: 1449383fffffffffffffffffffffffffffffffff
Memory leak in Thread
User & Date: vasiljevic on 2006-03-15 04:00:34
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    This is no leak. It is the fact that you are posting async scripts to a thread
    which has already exited. Such are kept in the Tcl event queue and remain
    stucked there forever. For such cases I have made the "reserve/release" 
    wrappers. So you basically reserve the thread when you need it and then 
    release it when not (the last releaser garbage-collects the thread). This way
    you are sure the thread will not be destroyed by somebody else until you
    are using it.
    
    
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. resolution changed to: "Wont Fix"
  5. status changed to: "Closed"
  6. username: "vasiljevic"