⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vwait.n

📁 tcl是工具命令语言
💻 N
字号:
'\"'\" Copyright (c) 1995-1996 Sun Microsystems, Inc.'\"'\" See the file "license.terms" for information on usage and redistribution'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.'\" '\" RCS: @(#) $Id: vwait.n,v 1.4 2000/09/07 14:27:52 poenitz Exp $'\" .so man.macros.TH vwait n 8.0 Tcl "Tcl Built-In Commands".BS'\" Note:  do not modify the .SH NAME line immediately below!.SH NAMEvwait \- Process events until a variable is written.SH SYNOPSIS\fBvwait\fR \fIvarName\fR.BE.SH DESCRIPTION.PPThis command enters the Tcl event loop to process events, blockingthe application if no events are ready.  It continues processingevents until some event handler sets the value of variable\fIvarName\fR.  Once \fIvarName\fR has been set, the \fBvwait\fRcommand will return as soon as the event handler that modified\fIvarName\fR completes.  \fIvarName\fR must globally scoped(either with a call to \fBglobal\fR for the \fIvarName\fR, or withthe full namespace path specification)..PPIn some cases the \fBvwait\fR command may not return immediatelyafter \fIvarName\fR is set.  This can happen if the event handlerthat sets \fIvarName\fR does not complete immediately.  For example,if an event handler sets \fIvarName\fR and then itself calls\fBvwait\fR to wait for a different variable, then it may not returnfor a long time.  During this time the top-level \fBvwait\fR isblocked waiting for the event handler to complete, so it cannotreturn either..SH "SEE ALSO"global(n).SH KEYWORDSevent, variable, wait

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -