Tcl_AsyncMark yields the wrong thread (follow-up)
Closed / Fixed217950ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:46:30
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
welch Closed ticket [217950ffff].
[History diff]2000-10-26 08:10:55
Log in (anonymous is fine) to add a comment.