Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7bc972ba5fbbe4b1e7a9eac0335e0e559e582edd
Ticket: bbc304f61a08d9e781bc786896b74d5f13defe87
reflected watch race condition
User & Date: dgp on 2016-03-02 15:28:32
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Very occasionally when running the test suite I will
    see ioCmd.test report an error:
    
      tried to post events channel "rc0" is not interested in
    
    I looked into this and it is due to the multi-thread
    ReflectWatch() breaking up its function into parts,
    and having the possibility of servicing an event
    in between the parts, when the channel has changed
    its interest mask, but the Watch command has not
    yet been invoked.
    
    I believe the proper fix is to tie the two changes
    together so that from the perspective of event
    servicing, the watch operation is atomic.
    
    Unfortunately since the issue is timing specific and
    hard to control in a testable way, this is somewhat
    a matter of speculation.  A careful review is in order
    at least.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "27. Channel Types"
  14. title changed to: "reflected watch race condition"
  15. type changed to: "Bug"