Mercurial > sdl-ios-xcode
comparison docs/html/sdlsemwait.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_SemWait</TITLE | 4 >SDL_SemWait</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="sdldestroysemaphore.html" | 48 HREF="sdldestroysemaphore.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="sdlsemtrywait.html" | 62 HREF="sdlsemtrywait.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="SDLSEMWAIT" | 73 NAME="SDLSEMWAIT" |
71 >SDL_SemWait</A | 74 ></A |
72 ></H1 | 75 >SDL_SemWait</H1 |
73 ><DIV | 76 ><DIV |
74 CLASS="REFNAMEDIV" | 77 CLASS="REFNAMEDIV" |
75 ><A | 78 ><A |
76 NAME="AEN7635" | 79 NAME="AEN8023" |
77 ></A | 80 ></A |
78 ><H2 | 81 ><H2 |
79 >Name</H2 | 82 >Name</H2 |
80 >SDL_SemWait -- Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV | 83 >SDL_SemWait -- Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV |
81 ><DIV | 84 ><DIV |
82 CLASS="REFSYNOPSISDIV" | 85 CLASS="REFSYNOPSISDIV" |
83 ><A | 86 ><A |
84 NAME="AEN7638" | 87 NAME="AEN8026" |
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="AEN7639" | 94 NAME="AEN8027" |
92 ></A | 95 ></A |
93 ><P | 96 ><P |
94 ></P | 97 ></P |
95 ><PRE | 98 ><PRE |
96 CLASS="FUNCSYNOPSISINFO" | 99 CLASS="FUNCSYNOPSISINFO" |
111 ></DIV | 114 ></DIV |
112 ></DIV | 115 ></DIV |
113 ><DIV | 116 ><DIV |
114 CLASS="REFSECT1" | 117 CLASS="REFSECT1" |
115 ><A | 118 ><A |
116 NAME="AEN7645" | 119 NAME="AEN8033" |
117 ></A | 120 ></A |
118 ><H2 | 121 ><H2 |
119 >Description</H2 | 122 >Description</H2 |
120 ><P | 123 ><P |
121 ><TT | 124 ><TT |
142 >.</P | 145 >.</P |
143 ></DIV | 146 ></DIV |
144 ><DIV | 147 ><DIV |
145 CLASS="REFSECT1" | 148 CLASS="REFSECT1" |
146 ><A | 149 ><A |
147 NAME="AEN7653" | 150 NAME="AEN8041" |
148 ></A | 151 ></A |
149 ><H2 | 152 ><H2 |
150 >Return Value</H2 | 153 >Return Value</H2 |
151 ><P | 154 ><P |
152 >Returns <SPAN | 155 >Returns <SPAN |
159 > if there was an error (leaving the semaphore unchanged).</P | 162 > if there was an error (leaving the semaphore unchanged).</P |
160 ></DIV | 163 ></DIV |
161 ><DIV | 164 ><DIV |
162 CLASS="REFSECT1" | 165 CLASS="REFSECT1" |
163 ><A | 166 ><A |
164 NAME="AEN7658" | 167 NAME="AEN8046" |
165 ></A | 168 ></A |
166 ><H2 | 169 ><H2 |
167 >Examples</H2 | 170 >Examples</H2 |
168 ><P | 171 ><P |
169 ><PRE | 172 ><PRE |
178 ></P | 181 ></P |
179 ></DIV | 182 ></DIV |
180 ><DIV | 183 ><DIV |
181 CLASS="REFSECT1" | 184 CLASS="REFSECT1" |
182 ><A | 185 ><A |
183 NAME="AEN7662" | 186 NAME="AEN8050" |
184 ></A | 187 ></A |
185 ><H2 | 188 ><H2 |
186 >See Also</H2 | 189 >See Also</H2 |
187 ><P | 190 ><P |
188 ><A | 191 ><A |
231 ><DIV | 234 ><DIV |
232 CLASS="NAVFOOTER" | 235 CLASS="NAVFOOTER" |
233 ><HR | 236 ><HR |
234 ALIGN="LEFT" | 237 ALIGN="LEFT" |
235 WIDTH="100%"><TABLE | 238 WIDTH="100%"><TABLE |
239 SUMMARY="Footer navigation table" | |
236 WIDTH="100%" | 240 WIDTH="100%" |
237 BORDER="0" | 241 BORDER="0" |
238 CELLPADDING="0" | 242 CELLPADDING="0" |
239 CELLSPACING="0" | 243 CELLSPACING="0" |
240 ><TR | 244 ><TR |
242 WIDTH="33%" | 246 WIDTH="33%" |
243 ALIGN="left" | 247 ALIGN="left" |
244 VALIGN="top" | 248 VALIGN="top" |
245 ><A | 249 ><A |
246 HREF="sdldestroysemaphore.html" | 250 HREF="sdldestroysemaphore.html" |
251 ACCESSKEY="P" | |
247 >Prev</A | 252 >Prev</A |
248 ></TD | 253 ></TD |
249 ><TD | 254 ><TD |
250 WIDTH="34%" | 255 WIDTH="34%" |
251 ALIGN="center" | 256 ALIGN="center" |
252 VALIGN="top" | 257 VALIGN="top" |
253 ><A | 258 ><A |
254 HREF="index.html" | 259 HREF="index.html" |
260 ACCESSKEY="H" | |
255 >Home</A | 261 >Home</A |
256 ></TD | 262 ></TD |
257 ><TD | 263 ><TD |
258 WIDTH="33%" | 264 WIDTH="33%" |
259 ALIGN="right" | 265 ALIGN="right" |
260 VALIGN="top" | 266 VALIGN="top" |
261 ><A | 267 ><A |
262 HREF="sdlsemtrywait.html" | 268 HREF="sdlsemtrywait.html" |
269 ACCESSKEY="N" | |
263 >Next</A | 270 >Next</A |
264 ></TD | 271 ></TD |
265 ></TR | 272 ></TR |
266 ><TR | 273 ><TR |
267 ><TD | 274 ><TD |
273 WIDTH="34%" | 280 WIDTH="34%" |
274 ALIGN="center" | 281 ALIGN="center" |
275 VALIGN="top" | 282 VALIGN="top" |
276 ><A | 283 ><A |
277 HREF="thread.html" | 284 HREF="thread.html" |
285 ACCESSKEY="U" | |
278 >Up</A | 286 >Up</A |
279 ></TD | 287 ></TD |
280 ><TD | 288 ><TD |
281 WIDTH="33%" | 289 WIDTH="33%" |
282 ALIGN="right" | 290 ALIGN="right" |