comparison docs/html/sdlsemwait.html @ 55:55f1f1b3e27d

Added new docs for SDL 1.2.1
author Sam Lantinga <slouken@lokigames.com>
date Sun, 10 Jun 2001 19:31:57 +0000
parents 74212992fb08
children e5bc29de3f0a
comparison
equal deleted inserted replaced
54:028447a8a758 55:55f1f1b3e27d
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.61 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64
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"
71 >SDL_SemWait</A 71 >SDL_SemWait</A
72 ></H1 72 ></H1
73 ><DIV 73 ><DIV
74 CLASS="REFNAMEDIV" 74 CLASS="REFNAMEDIV"
75 ><A 75 ><A
76 NAME="AEN7398" 76 NAME="AEN7474"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_SemWait&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV 80 >SDL_SemWait&nbsp;--&nbsp;Lock a semaphore and suspend the thread if the semaphore value is zero.</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN7401" 84 NAME="AEN7477"
85 ></A 85 ></A
86 ><H2 86 ><H2
87 >Synopsis</H2 87 >Synopsis</H2
88 ><DIV 88 ><DIV
89 CLASS="FUNCSYNOPSIS" 89 CLASS="FUNCSYNOPSIS"
90 ><A 90 ><A
91 NAME="AEN7402" 91 NAME="AEN7478"
92 ></A 92 ></A
93 ><P 93 ><P
94 ></P 94 ></P
95 ><PRE 95 ><PRE
96 CLASS="FUNCSYNOPSISINFO" 96 CLASS="FUNCSYNOPSISINFO"
111 ></DIV 111 ></DIV
112 ></DIV 112 ></DIV
113 ><DIV 113 ><DIV
114 CLASS="REFSECT1" 114 CLASS="REFSECT1"
115 ><A 115 ><A
116 NAME="AEN7408" 116 NAME="AEN7484"
117 ></A 117 ></A
118 ><H2 118 ><H2
119 >Description</H2 119 >Description</H2
120 ><P 120 ><P
121 ><TT 121 ><TT
142 >.</P 142 >.</P
143 ></DIV 143 ></DIV
144 ><DIV 144 ><DIV
145 CLASS="REFSECT1" 145 CLASS="REFSECT1"
146 ><A 146 ><A
147 NAME="AEN7416" 147 NAME="AEN7492"
148 ></A 148 ></A
149 ><H2 149 ><H2
150 >Return Value</H2 150 >Return Value</H2
151 ><P 151 ><P
152 >Returns <SPAN 152 >Returns <SPAN
159 > if there was an error (leaving the semaphore unchanged).</P 159 > if there was an error (leaving the semaphore unchanged).</P
160 ></DIV 160 ></DIV
161 ><DIV 161 ><DIV
162 CLASS="REFSECT1" 162 CLASS="REFSECT1"
163 ><A 163 ><A
164 NAME="AEN7421" 164 NAME="AEN7497"
165 ></A 165 ></A
166 ><H2 166 ><H2
167 >Examples</H2 167 >Examples</H2
168 ><P 168 ><P
169 ><PRE 169 ><PRE
178 ></P 178 ></P
179 ></DIV 179 ></DIV
180 ><DIV 180 ><DIV
181 CLASS="REFSECT1" 181 CLASS="REFSECT1"
182 ><A 182 ><A
183 NAME="AEN7425" 183 NAME="AEN7501"
184 ></A 184 ></A
185 ><H2 185 ><H2
186 >See Also</H2 186 >See Also</H2
187 ><P 187 ><P
188 ><A 188 ><A