Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae7706cd11066ae5b0ad2282892fcb9f6e8b42c9
Ticket: bbc304f61a08d9e781bc786896b74d5f13defe87
reflected watch race condition
User & Date: aku on 2016-03-08 07:24:10
Changes

  1. icomment:
    Having read the ticket description, and the looked at the proposed fix I 
    believe that this change is ok.
    
    In essence you are moving the update of the interest mask to the last possible 
    point before the script callback is invoked, and for the multi-threaded case 
    this means that the update is changed to always happen in the handler thread. 
    Making the servicing of events between mask update and use of the callback 
    impossible.
    
    That looks to be a sensible solution to me.
    
    The only thing I would change is the // used to disable the old location. That 
    I would simply remove completely.
    
  2. login: "aku"
  3. mimetype: "text/plain"