OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [Sleep.3] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1990 The Regents of the University of California.
3
'\" Copyright (c) 1994-1996 Sun Microsystems, Inc.
4
'\"
5
'\" See the file "license.terms" for information on usage and redistribution
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
'\"
8
'\" RCS: @(#) $Id: Sleep.3,v 1.1.1.1 2002-01-16 10:25:24 markom Exp $
9
'\"
10
.so man.macros
11
.TH Tcl_Sleep 3 7.5 Tcl "Tcl Library Procedures"
12
.BS
13
.SH NAME
14
Tcl_Sleep \- delay execution for a given number of milliseconds
15
.SH SYNOPSIS
16
.nf
17
\fB#include \fR
18
.sp
19
\fBTcl_Sleep\fR(\fIms\fR)
20
.SH ARGUMENTS
21
.AP int ms in
22
Number of milliseconds to sleep.
23
.BE
24
 
25
.SH DESCRIPTION
26
.PP
27
This procedure delays the calling process by the number of
28
milliseconds given by the \fIms\fR parameter and returns
29
after that time has elapsed.  It is typically used for things
30
like flashing a button, where the delay is short and the
31
application needn't do anything while it waits.  For longer
32
delays where the application needs to respond to other events
33
during the delay, the procedure \fBTcl_CreateTimerHandler\fR
34
should be used instead of \fBTcl_Sleep\fR.
35
 
36
.SH KEYWORDS
37
sleep, time, wait

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.