Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: daace9a44cf0d2e281f290384d7e72b29137b37f
Ticket: 410674ffffffffffffffffffffffffffffffffff
Bug fix: #219205 and 219333 (event drop)
User & Date: kensdorf on 2002-12-19 02:14:23
Changes

  1. icomment:
    Logged In: YES 
    user_id=671771
    
    We have seen a similar problem in version 8.3.2.  We 
    determined that it has to do with the FD_ACCEPT bit being 
    cleared prematurely when two "accept" events come in 
    simultaneously.  This happens due to a race condition in the 
    code where the infoPtr's acceptEventCount is checked and 
    the flag is subsequntly cleared.  If an accept event occurs 
    during this operation, it will never be processed if the 
    FD_ACCEPT flag is cleared by the tcl application thread after 
    it has been set by the "SocketProc" thread.  We fixed this by 
    protecting access to this flag and the acceptEventCount 
    variable with a critical section object.  If anyone would like 
    more details about our fix, please let me know.
    
    
  2. login: "kensdorf"
  3. mimetype: "text/plain"
  4. username: "kensdorf"