Seth Woolley's Man Viewer

Sleep(3) - Tcl_Sleep, Tcl_Sleep - delay execution for a given number of milliseconds - man 3 Sleep

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

Tcl_Sleep(3)                Tcl Library Procedures                Tcl_Sleep(3)



NAME
       Tcl_Sleep - delay execution for a given number of milliseconds

SYNOPSIS
       #include <tcl.h>

       Tcl_Sleep(ms)

ARGUMENTS
       Number of milliseconds to sleep.


DESCRIPTION
       This procedure delays the calling process by the number of milliseconds
       given by the ms parameter and returns after that time(1,2,n) 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.


KEYWORDS
       sleep(1,3), time(1,2,n), wait



Tcl                                   7.5                         Tcl_Sleep(3)

References for this manual (incoming links)