Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7c835a644d721a26a6fc62657c3cf55e1e2deac
Ticket: 217934ffffffffffffffffffffffffffffffffff
Tcl_AsyncMark doesn't appear to wake the notifier under UNIX
User & Date: davethomas on 2001-12-04 22:18:25
Changes

  1. icomment:
    Logged In: YES 
    user_id=393111
    
    
    
    We have been using a work-around for this bug for a couple 
    of years now.  On unix, the notifier is not awakened by a 
    Tcl_AsyncMark if it's blocked in a select statement.  For 
    example, if the application is driven by socket events, 
    events posted using Tcl_AsyncMark won't be executed until 
    the next socket readable event occurs.
    
    So on unix, we always do a dummy write to a socket that 
    we've bound a "dummy" handler.  The handler simply reads 
    the socket and returns, but then the notifier processes 
    the "real" event that we posted via Tcl_AsyncMark.
    
    But this work around DOUBLES, the number of socket events 
    that would otherwise need to be handled.
    
    We're still using 8.3.0.  I can find no indication that 
    this bug has been fixed in later releases.  What is the 
    status?  Is there a fix or patch?
    
    Thanks,
    
    Dave Thomas
    
    
  2. login: "davethomas"
  3. mimetype: "text/plain"
  4. username: "davethomas"