Tcl Library Procedures Tcl_Sleep(3TCL)
_________________________________________________________________
NAME
Tcl_Sleep - delay execution for a given number of mil-
lisecondsSYNOPSIS
#include
Tcl_Sleep(ms)
ARGUMENTSint ms (in) Number of mil-
liseconds to sleep._________________________________________________________________
DESCRIPTION
This procedure delays the calling process by the number of milliseconds given by the ms parameter and returns after that time has elapsed. It is typically used for things likeflashing a button, where the delay is short and the applica-
tion needn't do anything while it waits. For longer delayswhere the application needs to respond to other events dur-
ing the delay, the procedure Tcl_CreateTimerHandler should
be used instead of Tcl_Sleep.
KEYWORDS sleep, time, waitATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tcl-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tcl is available on http://opensolaris.org. Tcl Last change: 7.5 1