Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 74d8769584cbb634a25c2c8d9dce247d2316991c
Ticket: 803370ffffffffffffffffffffffffffffffffff
marked async handler not getting invoked
User & Date: davygrvy on 2003-09-15 06:05:46
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    Well, do the logical thing then.  I didn't say to remove the 
    #ifdef.
    
    There are threaded actions happening.  Think about it.  Some 
    OS thread called a signal handler that TclX might have 
    trapped.  TclX then called Tcl_AsyncMark so it can't eval the 
    script associated to it.  Now nothing happens because the 
    notifier is waiting on select() yet Tcl_AlertNotifier does 
    nothing to fulfil it's promise to break the wait.  Tcl_AsyncMark 
    is promised to be the ONLY thread safe function in a single 
    threaded core.  Sounds like just a technical challenge for a 
    core hacker.  Not me though, I just do windows.
    
    I remember talking with someone from IBM about their desire 
    to have this 4 years ago.  His thought was to add an 
    additional pipe to the select mask that's just for 
    Tcl_AlertNotifier.
    
    Is that plausable?
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"