Man Page: tcl_sleep
Operating Environment: opensolaris
Section: 3tcl
Tcl_Sleep(3TCL) Tcl Library Procedures Tcl_Sleep(3TCL) __________________________________________________________________________________________________________________________________________________NAMETcl_Sleep - delay execution for a given number of millisecondsSYNOPSIS#include <tcl.h> Tcl_Sleep(ms)ARGUMENTSint ms (in) Number of milliseconds to sleep. _________________________________________________________________DESCRIPTIONThis 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 like flashing a button, where the delay is short and the application needn't do anything while it waits. For longer delays where the application needs to respond to other events during the delay, the procedure Tcl_CreateTimerHandler should be used instead of Tcl_Sleep.KEYWORDSsleep, time, waitATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+NOTESSource for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_Sleep(3TCL)
| Similar Topics in the Unix Linux Community |
|---|
| Introducing Delay less then a second. |
| Delay a process. |
| how to use sleep comand for milliseconds? |
| flashing cursor |
| How do I do a short delay (milliseconds) in a shell script? |