Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6501ca260b6242e3882a7281b0ce6982ca7afbeb
Ticket: 803370ffffffffffffffffffffffffffffffffff
marked async handler not getting invoked
User & Date: davygrvy on 2003-09-10 20:09:34
Changes

  1. icomment:
    Logged In: YES 
    user_id=7549
    
    Whoop, me bad..
    
    Tcl_ThreadAlert gets the notifier data and calls 
    Tcl_AlertNotifier, but, as you can see, can't do jack:
    
    void
    Tcl_AlertNotifier(clientData)
        ClientData clientData;
    {
    #ifdef TCL_THREADS
        ThreadSpecificData *tsdPtr = (ThreadSpecificData *) 
    clientData;
        Tcl_MutexLock(&notifierMutex);
        tsdPtr->eventReady = 1;
        Tcl_ConditionNotify(&tsdPtr->waitCV);
        Tcl_MutexUnlock(&notifierMutex);
    #endif
    }
    
    If that can get implimented, Tcl_AsyncMark will have the 
    ability to awaken the notifier.
    
    
  2. login: "davygrvy"
  3. mimetype: "text/plain"
  4. username: "davygrvy"