About Us Documentation

Contact Site Map




Tcl_Sleep(3)         Tcl Library Procedures                   7.5



Tcl_Sleep - delay execution for a given number of mil- liseconds


#include <tcl.h> Tcl_Sleep(ms)


int ms (in) Number of mil- liseconds to sleep. _________________________________________________________________


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 like flashing a button, where the delay is short and the applica- tion needn't do anything while it waits. For longer delays where the application needs to respond to other events dur- ing the delay, the procedure Tcl_CreateTimerHandler should be used instead of Tcl_Sleep.


sleep, time, wait Tcl 1 Prepared by Ready-to-Run Software, Inc.


Email addresses listed on this site may  NOT be used for unsolicited commercial email.

Ready-to-Run Software, Inc Privacy Statement

Portions (c)Copyright, 1996-2005 by Ready-to-Run Software, Inc
(All rights reserved.)
212 Cedar Cove
Lansing, NY 14882
Phone: 607 533 UNIX (8649)
Fax: 607 533 4002

To return to the Ready-to-Run Software WinPak Table of contents please presshere