Skip to content
Tcl Source Code History Of Ticket 217943
Login

History Of Ticket 217943

Artifacts Associated With Ticket 217943

  1. Ticket change [ece6e51fc3] (rid 103790) by nobody on 2000-10-26 00:46:23:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 3862 Bug
      Version: 8.3b1
      SubmitDate: '1999-12-13'
      LastModified: '2000-04-04'
      Severity: CRIT
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      RelatedBugIDs: 4826 5791
      OS: Windows 2000
      FixedDate: '2000-10-25'
      ClosedDate: '2000-04-04'
      
      
      Name:
      David Gravereaux
      
      CVS:
      I updated today
      
      Comments:
      You can contact me for more details regarding that extensions use of Tcl_AsyncMark/Tcl_QueueEvent.  I tried adding a TSD structure to tclAsync.c, but I couldn't the system to work.  Something isn't right with how the yielding is currently working.  Never mind for the moment that Tcl_AsyncReady is process global rather than thread specific.
      
      ReproducibleScript:
      D:\Projects\TclCvs\MainTclTrunk\win\Release>tcltest.exe
      % update
      % testthread create {
        load "d:/projects/ghe_cvs/ghe/ghe_dirwatch.dll"
        GHE::startwatch c:/temp {gotcha [testthread id]}
        proc gotcha {id} {
          puts "c:/temp has been written to and yielded notifier thread $id"
        }
        testthread wait
      }
      1156
      % testthread id
      1176
      % update
      c:/temp has been written to and yielded notifier thread 1176
      % update
      c:/temp has been written to and yielded notifier thread 1176
      c:/temp has been written to and yielded notifier thread 1176
      c:/temp has been written to and yielded notifier thread 1176
      % update
      c:/temp has been written to and yielded notifier thread 1176
      % update
      c:/temp has been written to and yielded notifier thread 1176
      c:/temp has been written to and yielded notifier thread 1176
      c:/temp has been written to and yielded notifier thread 1176
      %
      
      ObservedBehavior:
      Creating a new interp with testthread (threadID 1156 above) resulted in the EventProc of that extension to happen in the wrong thread (id 1176).  This a problem.  The thread that didn't create that interp is Eval'ing code in it!
      
      DesiredBehavior:
      The EventProc gets called in from the correct thread.
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.3b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "49. Threading"
    10. title initialized to: "Tcl_AsyncMark yields the wrong thread"
    11. type initialized to: "Bug"
  2. Ticket change [fd03e3c374] (rid 108340) by welch on 2000-10-26 08:10:55:

    1. closedate changed to: "2000-10-26T01:10:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"