summaryrefslogtreecommitdiffstats
path: root/doc/Limit.3
diff options
context:
space:
mode:
Diffstat (limited to 'doc/Limit.3')
-rw-r--r--doc/Limit.310
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/Limit.3 b/doc/Limit.3
index 3d202fc..a113b74 100644
--- a/doc/Limit.3
+++ b/doc/Limit.3
@@ -3,7 +3,7 @@
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-'\"
+'\"
.TH Tcl_LimitCheck 3 8.5 Tcl "Tcl Library Procedures"
.so man.macros
.BS
@@ -90,6 +90,7 @@ Arbitrary pointer-sized word used to pass some context to the
Function to call whenever a handler is deleted. May be NULL if the
\fIclientData\fR requires no deletion.
.BE
+
.SH DESCRIPTION
.PP
Tcl's interpreter resource limit subsystem allows for close control
@@ -116,7 +117,7 @@ execution of the callbacks is unspecified) execution in the limited
interpreter is stopped by raising an error and setting a flag that
prevents the \fBcatch\fR command in that interpreter from trapping
that error. It is up to the context that started execution in that
-interpreter (typically the main interpreter) to handle the error.
+interpreter (typically a master interpreter) to handle the error.
.SH "LIMIT CHECKING API"
.PP
To check the resource limits for an interpreter, call
@@ -161,7 +162,7 @@ the function that will actually be called; it should have the
following prototype:
.PP
.CS
-typedef void \fBTcl_LimitHandlerProc\fR(
+typedef void Tcl_LimitHandlerProc(
ClientData \fIclientData\fR,
Tcl_Interp *\fIinterp\fR);
.CE
@@ -178,7 +179,7 @@ function to call to delete the \fIclientData\fR value. It may be
following prototype:
.PP
.CS
-typedef void \fBTcl_LimitHandlerDeleteProc\fR(
+typedef void Tcl_LimitHandlerDeleteProc(
ClientData \fIclientData\fR);
.CE
.PP
@@ -188,5 +189,6 @@ with \fBTcl_LimitAddHandler\fR) with exactly matching \fItype\fR,
\fIhandlerProc\fR and \fIclientData\fR arguments. This function
always invokes the \fIdeleteProc\fR on the \fIclientData\fR (unless
the \fIdeleteProc\fR was NULL or \fBTCL_STATIC\fR).
+
.SH KEYWORDS
interpreter, resource, limit, commands, time, callback