diff options
author | hershey <hershey@noemail.net> | 1999-04-16 22:53:43 (GMT) |
---|---|---|
committer | hershey <hershey@noemail.net> | 1999-04-16 22:53:43 (GMT) |
commit | ae0edef68c40464f7d70820d8980e639aaeaed39 (patch) | |
tree | 3977126c2fc9f4c7d38da0d44d1c02a3f8b107b9 /doc/Notifier.3 | |
parent | 997b31f580d7baebe2c4e486a15cbcab70615bcd (diff) | |
download | tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.zip tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.tar.gz tcl-ae0edef68c40464f7d70820d8980e639aaeaed39.tar.bz2 |
added Tcl_DStringTrunc to DString.3
added mention of Tcl_ThreadQueueEvent, Tcl_ThreadAlert to Notifier.3
added Tcl_ThreadQueueEvent, Tcl_ThreadAlert, and Tcl_GetCurrentThread to
Thread.3
FossilOrigin-Name: 401c4cabb05a3bdc401aa51f2d7de8415e89464c
Diffstat (limited to 'doc/Notifier.3')
-rw-r--r-- | doc/Notifier.3 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/doc/Notifier.3 b/doc/Notifier.3 index dcd8250..c92b3cb 100644 --- a/doc/Notifier.3 +++ b/doc/Notifier.3 @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Notifier.3,v 1.2 1998/09/14 18:39:49 stanton Exp $ +'\" RCS: @(#) $Id: Notifier.3,v 1.3 1999/04/16 22:53:43 hershey Exp $ '\" .so man.macros .TH Notifier 3 8.0 Tcl "Tcl Library Procedures" @@ -24,6 +24,8 @@ Tcl_CreateEventSource, Tcl_DeleteEventSource, Tcl_SetMaxBlockTime, Tcl_QueueEven \fBTcl_SetMaxBlockTime\fR(\fItimePtr\fB)\fR .sp \fBTcl_QueueEvent\fR(\fIevPtr, position\fR) +.sp +\fBTcl_ThreadQueueEvent\fR(\fIthreadId, evPtr, position\fR) .VS .sp \fBTcl_DeleteEvents\fR(\fIdeleteProc, clientData\fR) @@ -31,6 +33,15 @@ Tcl_CreateEventSource, Tcl_DeleteEventSource, Tcl_SetMaxBlockTime, Tcl_QueueEven int \fBTcl_WaitForEvent\fR(\fItimePtr\fR) .sp +ClientData +\fBTcl_InitNotifier\fR() +.sp +\fBTcl_FinalizeNotifier\fR(\fIclientData\fR) +.sp +\fBTcl_AlertNotifier\fR(\fIclientData\fR) +.sp +\fBTcl_ThreadAlert\fR(\fIthreadId\fR) +.sp \fBTcl_SetTimer\fR(\fItimePtr\fR) .sp int @@ -119,7 +130,9 @@ servicing at a future time. \fBTcl_QueueEvent\fR is used (primarily by event sources) to add events to the event queue and \fBTcl_DeleteEvents\fR is used to remove events from the queue without -processing them. +processing them. See the manual entry for \fBThread\fR for a +description of the \fBTcl_ThreadQueueEvent\fR procedure. + .IP [3] The event loop: in order to detect and process events, the application enters a loop that waits for events to occur, places them on the event @@ -406,7 +419,8 @@ entry, plus \fBTcl_DoOneEvent\fR and \fBTcl_Sleep\fR, which are available on all platforms, and \fBTcl_CreateFileHandler\fR and \fBTcl_DeleteFileHandler\fR, which are Unix-specific. Most of these procedures are generic, in that they are the same for all notifiers. -However, five of the procedures are notifier-dependent: +However, eight of the procedures are notifier-dependent: +\fBTcl_InitNotifier\fR, \fBTcl_AlertNotifier\fR, \fBTcl_FinalizeNotifier\fR, \fBTcl_SetTimer\fR, \fBTcl_Sleep\fR, \fBTcl_WaitForEvent\fR, \fBTcl_CreateFileHandler\fR and \fBTcl_DeleteFileHandler\fR. To support a new platform or to integrate Tcl with an |