Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c2bb65bad0f2e508ddde380eeda87c9e48e654cb
Ticket: 217950ffffffffffffffffffffffffffffffffff
Tcl_AsyncMark yields the wrong thread (follow-up)
User & Date: nobody on 2000-10-26 00:46:30
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3951 Bug
    Version: 8.3b1
    SubmitDate: '1999-12-28'
    LastModified: '2000-07-25'
    Severity: LOW
    Status: Closed
    Submitter: techsupp
    ChangedBy: davidg
    RelatedBugIDs: 5791
    OS: Windows 2000
    OSVersion: build 2128
    FixedDate: '2000-07-25'
    ClosedDate: '2000-10-25'
    
    
    Name:
    David Gravereaux
    
    CVS:
    $Id: Async.3,v 1.3 1999/04/16 00:46:30 stanton Exp $
    
    CustomShell:
    tclAsync.c fixes in progress.
    
    Comments:
    The man page should match the new behavior should the patch I contributed be adopted.
    
    Patch:
    Index: Async.3
    ===================================================================
    RCS file: /cvsroot/tcl/doc/Async.3,v
    retrieving revision 1.3
    diff -c -r1.3 Async.3
    *** Async.31999/04/16 00:46:301.3
    --- Async.31999/12/28 02:18:37
    ***************
    *** 60,65 ****
    --- 60,73 ----
      occurred, then handle the event later when the world has returned
      to a clean state, such as after the current Tcl command completes.
      .PP
    + Tcl_AsyncCreate, Tcl_AsyncDelete, and Tcl_AsyncReady
    + are thread sensitive.  They access and/or set a thread-specific data
    + structure in the event of an --enable-thread built core.  It is assumed
    + that the thread Tcl_AsyncCreate is called from will/does contain a
    + notifier that the resulting Tcl_AsyncMark(token) will be used to
    + yield and that Tcl_AsyncMark(token) can be called from any thread
    + context.
    + .PP
      \fBTcl_AsyncCreate\fR creates an asynchronous handler and returns
      a token for it.
      The asynchronous handler must be created before
    
    PatchFiles:
    doc/Async.3
    
    
    
    dupe of #5791 
    -- 07/25/2000 davidg
    
  4. foundin changed to: "obsolete: 8.3b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "Tcl_AsyncMark yields the wrong thread (follow-up)"
  11. type changed to: "Bug"