Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c4ae0991002d3b9bb04bbc554ae6b4f67588a4f3
Ticket: 1323992fffffffffffffffffffffffffffffffff
socket.test failures
User & Date: vasiljevic on 2005-10-14 01:28:08
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Understand. Thanks for going that deep! 
    
    The problem is/are obviously the events in the queue which
    do not get processed (deliberately) at the time one
    calls Tcl_CleanChannelHandlers. 
    If we do not disable those pending events in Tcl_CCH, 
    then we risk hitting a detached channel later on which
    inevitably leads to core. 
    If we however do disable them, as my change is doing,
    then we lose some events pertaining to that channel. 
    So it is a lose-lose situation.
    
    I have not found a way to somehow "drain" the channel
    at the time it is about to be spliced out of the thread/interp.
    This would be the thing needed here. Perhaps I should 
    do some more thinking...
    
    
    
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"