summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-15 21:34:02 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-08-15 21:34:02 (GMT)
commit31b544baefc9bf84fded3c7dfb98da9db1032e10 (patch)
treeb4f38f4854fcf10c04cac2290646ee6a6326046a /doc
parent82d5e7d59540bfd95e3258032a92d4607752d9cd (diff)
downloadtcl-31b544baefc9bf84fded3c7dfb98da9db1032e10.zip
tcl-31b544baefc9bf84fded3c7dfb98da9db1032e10.tar.gz
tcl-31b544baefc9bf84fded3c7dfb98da9db1032e10.tar.bz2
Make TCL_QUEUE_ALERT_IF_EMPTY a separate flag
Diffstat (limited to 'doc')
-rw-r--r--doc/Notifier.315
1 files changed, 5 insertions, 10 deletions
diff --git a/doc/Notifier.3 b/doc/Notifier.3
index 755930f..3fb13a2 100644
--- a/doc/Notifier.3
+++ b/doc/Notifier.3
@@ -90,11 +90,10 @@ necessary.
.AP Tcl_Event *evPtr in
An event to add to the event queue. The storage for the event must
have been allocated by the caller using \fBTcl_Alloc\fR or \fBckalloc\fR.
-.AP Tcl_QueuePosition position in
+.AP int flags in
Where to add the new event in the queue: \fBTCL_QUEUE_TAIL\fR,
-\fBTCL_QUEUE_HEAD\fR, \fBTCL_QUEUE_MARK\fR,
-\fBTCL_QUEUE_TAIL_ALERT_IF_EMPTY\fR, or
-\fBTCL_QUEUE_HEAD_ALERT_IF_EMPTY\fR.
+\fBTCL_QUEUE_HEAD\fR, \fBTCL_QUEUE_MARK\fR, and whether to do
+an alert if the queue is empty: \fBTCL_QUEUE_ALERT_IF_EMPTY\fR.
.AP Tcl_ThreadId threadId in
A unique identifier for a thread.
.AP Tcl_EventDeleteProc *deleteProc in
@@ -357,12 +356,8 @@ This value of \fIposition\fR is used to insert an ordered sequence of
events at the front of the queue, such as a series of
Enter and Leave events synthesized during a grab or ungrab operation
in Tk.
-.IP \fBTCL_QUEUE_TAIL_ALERT_IF_EMPTY\fR 32
-Like \fBTCL_QUEUE_TAIL\fR but when used in \fBTcl_ThreadQueueEvent\fR
-arranges for an automatic call of \fBTcl_ThreadAlert\fR when the queue was
-empty.
-.IP \fBTCL_QUEUE_HEAD_ALERT_IF_EMPTY\fR 32
-Like \fBTCL_QUEUE_HEAD\fR but when used in \fBTcl_ThreadQueueEvent\fR
+.IP \fBTCL_QUEUE_ALERT_IF_EMPTY\fR 32
+When used in \fBTcl_ThreadQueueEvent\fR
arranges for an automatic call of \fBTcl_ThreadAlert\fR when the queue was
empty.
.PP