OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [vwait.n] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1995-1996 Sun Microsystems, Inc.
3
'\"
4
'\" See the file "license.terms" for information on usage and redistribution
5
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6
'\"
7
'\" RCS: @(#) $Id: vwait.n,v 1.1.1.1 2002-01-16 10:25:25 markom Exp $
8
'\"
9
.so man.macros
10
.TH vwait n 7.5 Tcl "Tcl Built-In Commands"
11
.BS
12
'\" Note:  do not modify the .SH NAME line immediately below!
13
.SH NAME
14
vwait \- Process events until a variable is written
15
.SH SYNOPSIS
16
\fBvwait\fR \fIvarName\fR
17
.BE
18
 
19
.SH DESCRIPTION
20
.PP
21
This command enters the Tcl event loop to process events, blocking
22
the application if no events are ready.  It continues processing
23
events until some event handler sets the value of variable
24
\fIvarName\fR.  Once \fIvarName\fR has been set, the \fBvwait\fR
25
command will return as soon as the event handler that modified
26
\fIvarName\fR completes.
27
.PP
28
In some cases the \fBvwait\fR command may not return immediately
29
after \fIvarName\fR is set.  This can happen if the event handler
30
that sets \fIvarName\fR does not complete immediately.  For example,
31
if an event handler sets \fIvarName\fR and then itself calls
32
\fBvwait\fR to wait for a different variable, then it may not return
33
for a long time.  During this time the top-level \fBvwait\fR is
34
blocked waiting for the event handler to complete, so it cannot
35
return either.
36
 
37
.SH KEYWORDS
38
event, variable, wait

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.