1Tcl_Sleep(3) Tcl Library Procedures Tcl_Sleep(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_Sleep - delay execution for a given number of milliseconds
9
11 #include <tcl.h>
12
13 Tcl_Sleep(ms)
14
16 int ms (in) Number of milliseconds to sleep.
17______________________________________________________________________________
18
20 This procedure delays the calling process by the number of milliseconds
21 given by the ms parameter and returns after that time has elapsed. It
22 is typically used for things like flashing a button, where the delay is
23 short and the application need not do anything while it waits. For
24 longer delays where the application needs to respond to other events
25 during the delay, the procedure Tcl_CreateTimerHandler should be used
26 instead of Tcl_Sleep.
27
29 sleep, time, wait
30
31
32
33Tcl 7.5 Tcl_Sleep(3)