comparison docs/html/sdldelay.html @ 803:355632dca928

Updated SDL HTML documentation
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Feb 2004 15:15:40 +0000
parents e5bc29de3f0a
children
comparison
equal deleted inserted replaced
802:3c609d54f100 803:355632dca928
2 ><HEAD 2 ><HEAD
3 ><TITLE 3 ><TITLE
4 >SDL_Delay</TITLE 4 >SDL_Delay</TITLE
5 ><META 5 ><META
6 NAME="GENERATOR" 6 NAME="GENERATOR"
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8 "><LINK 8 "><LINK
9 REL="HOME" 9 REL="HOME"
10 TITLE="SDL Library Documentation" 10 TITLE="SDL Library Documentation"
11 HREF="index.html"><LINK 11 HREF="index.html"><LINK
12 REL="UP" 12 REL="UP"
26 VLINK="#551a8b" 26 VLINK="#551a8b"
27 ALINK="#ff0000" 27 ALINK="#ff0000"
28 ><DIV 28 ><DIV
29 CLASS="NAVHEADER" 29 CLASS="NAVHEADER"
30 ><TABLE 30 ><TABLE
31 SUMMARY="Header navigation table"
31 WIDTH="100%" 32 WIDTH="100%"
32 BORDER="0" 33 BORDER="0"
33 CELLPADDING="0" 34 CELLPADDING="0"
34 CELLSPACING="0" 35 CELLSPACING="0"
35 ><TR 36 ><TR
43 WIDTH="10%" 44 WIDTH="10%"
44 ALIGN="left" 45 ALIGN="left"
45 VALIGN="bottom" 46 VALIGN="bottom"
46 ><A 47 ><A
47 HREF="sdlgetticks.html" 48 HREF="sdlgetticks.html"
49 ACCESSKEY="P"
48 >Prev</A 50 >Prev</A
49 ></TD 51 ></TD
50 ><TD 52 ><TD
51 WIDTH="80%" 53 WIDTH="80%"
52 ALIGN="center" 54 ALIGN="center"
56 WIDTH="10%" 58 WIDTH="10%"
57 ALIGN="right" 59 ALIGN="right"
58 VALIGN="bottom" 60 VALIGN="bottom"
59 ><A 61 ><A
60 HREF="sdladdtimer.html" 62 HREF="sdladdtimer.html"
63 ACCESSKEY="N"
61 >Next</A 64 >Next</A
62 ></TD 65 ></TD
63 ></TR 66 ></TR
64 ></TABLE 67 ></TABLE
65 ><HR 68 ><HR
66 ALIGN="LEFT" 69 ALIGN="LEFT"
67 WIDTH="100%"></DIV 70 WIDTH="100%"></DIV
68 ><H1 71 ><H1
69 ><A 72 ><A
70 NAME="SDLDELAY" 73 NAME="SDLDELAY"
71 >SDL_Delay</A 74 ></A
72 ></H1 75 >SDL_Delay</H1
73 ><DIV 76 ><DIV
74 CLASS="REFNAMEDIV" 77 CLASS="REFNAMEDIV"
75 ><A 78 ><A
76 NAME="AEN8067" 79 NAME="AEN8455"
77 ></A 80 ></A
78 ><H2 81 ><H2
79 >Name</H2 82 >Name</H2
80 >SDL_Delay&nbsp;--&nbsp;Wait a specified number of milliseconds before returning.</DIV 83 >SDL_Delay&nbsp;--&nbsp;Wait a specified number of milliseconds before returning.</DIV
81 ><DIV 84 ><DIV
82 CLASS="REFSYNOPSISDIV" 85 CLASS="REFSYNOPSISDIV"
83 ><A 86 ><A
84 NAME="AEN8070" 87 NAME="AEN8458"
85 ></A 88 ></A
86 ><H2 89 ><H2
87 >Synopsis</H2 90 >Synopsis</H2
88 ><DIV 91 ><DIV
89 CLASS="FUNCSYNOPSIS" 92 CLASS="FUNCSYNOPSIS"
90 ><A 93 ><A
91 NAME="AEN8071" 94 NAME="AEN8459"
92 ></A 95 ></A
93 ><P 96 ><P
94 ></P 97 ></P
95 ><PRE 98 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 99 CLASS="FUNCSYNOPSISINFO"
110 ></DIV 113 ></DIV
111 ></DIV 114 ></DIV
112 ><DIV 115 ><DIV
113 CLASS="REFSECT1" 116 CLASS="REFSECT1"
114 ><A 117 ><A
115 NAME="AEN8077" 118 NAME="AEN8465"
116 ></A 119 ></A
117 ><H2 120 ><H2
118 >Description</H2 121 >Description</H2
119 ><P 122 ><P
120 >Wait a specified number of milliseconds before returning. <TT 123 >Wait a specified number of milliseconds before returning. <TT
121 CLASS="FUNCTION" 124 CLASS="FUNCTION"
122 >SDL_Delay</TT 125 >SDL_Delay</TT
123 > will wait at <I 126 > will wait at <SPAN
127 CLASS="emphasis"
128 ><I
124 CLASS="EMPHASIS" 129 CLASS="EMPHASIS"
125 >least</I 130 >least</I
131 ></SPAN
126 > the specified time, but possible longer due to OS scheduling.</P 132 > the specified time, but possible longer due to OS scheduling.</P
127 ><DIV 133 ><DIV
128 CLASS="NOTE" 134 CLASS="NOTE"
129 ><BLOCKQUOTE 135 ><BLOCKQUOTE
130 CLASS="NOTE" 136 CLASS="NOTE"
131 ><P 137 ><P
132 ><B 138 ><B
133 >Note: </B 139 >Note: </B
134 >Count on a delay granularity of <I 140 >Count on a delay granularity of <SPAN
141 CLASS="emphasis"
142 ><I
135 CLASS="EMPHASIS" 143 CLASS="EMPHASIS"
136 >at least</I 144 >at least</I
145 ></SPAN
137 > 10 ms. 146 > 10 ms.
138 Some platforms have shorter clock ticks but this is the most common.</P 147 Some platforms have shorter clock ticks but this is the most common.</P
139 ></BLOCKQUOTE 148 ></BLOCKQUOTE
140 ></DIV 149 ></DIV
141 ></DIV 150 ></DIV
142 ><DIV 151 ><DIV
143 CLASS="REFSECT1" 152 CLASS="REFSECT1"
144 ><A 153 ><A
145 NAME="AEN8085" 154 NAME="AEN8473"
146 ></A 155 ></A
147 ><H2 156 ><H2
148 >See Also</H2 157 >See Also</H2
149 ><P 158 ><P
150 ><A 159 ><A
158 ><DIV 167 ><DIV
159 CLASS="NAVFOOTER" 168 CLASS="NAVFOOTER"
160 ><HR 169 ><HR
161 ALIGN="LEFT" 170 ALIGN="LEFT"
162 WIDTH="100%"><TABLE 171 WIDTH="100%"><TABLE
172 SUMMARY="Footer navigation table"
163 WIDTH="100%" 173 WIDTH="100%"
164 BORDER="0" 174 BORDER="0"
165 CELLPADDING="0" 175 CELLPADDING="0"
166 CELLSPACING="0" 176 CELLSPACING="0"
167 ><TR 177 ><TR
169 WIDTH="33%" 179 WIDTH="33%"
170 ALIGN="left" 180 ALIGN="left"
171 VALIGN="top" 181 VALIGN="top"
172 ><A 182 ><A
173 HREF="sdlgetticks.html" 183 HREF="sdlgetticks.html"
184 ACCESSKEY="P"
174 >Prev</A 185 >Prev</A
175 ></TD 186 ></TD
176 ><TD 187 ><TD
177 WIDTH="34%" 188 WIDTH="34%"
178 ALIGN="center" 189 ALIGN="center"
179 VALIGN="top" 190 VALIGN="top"
180 ><A 191 ><A
181 HREF="index.html" 192 HREF="index.html"
193 ACCESSKEY="H"
182 >Home</A 194 >Home</A
183 ></TD 195 ></TD
184 ><TD 196 ><TD
185 WIDTH="33%" 197 WIDTH="33%"
186 ALIGN="right" 198 ALIGN="right"
187 VALIGN="top" 199 VALIGN="top"
188 ><A 200 ><A
189 HREF="sdladdtimer.html" 201 HREF="sdladdtimer.html"
202 ACCESSKEY="N"
190 >Next</A 203 >Next</A
191 ></TD 204 ></TD
192 ></TR 205 ></TR
193 ><TR 206 ><TR
194 ><TD 207 ><TD
200 WIDTH="34%" 213 WIDTH="34%"
201 ALIGN="center" 214 ALIGN="center"
202 VALIGN="top" 215 VALIGN="top"
203 ><A 216 ><A
204 HREF="time.html" 217 HREF="time.html"
218 ACCESSKEY="U"
205 >Up</A 219 >Up</A
206 ></TD 220 ></TD
207 ><TD 221 ><TD
208 WIDTH="33%" 222 WIDTH="33%"
209 ALIGN="right" 223 ALIGN="right"