source: rtems/doc/new_chapters/semaphores.t @ 241e4c7c

4.104.114.84.95
Last change on this file since 241e4c7c was 241e4c7c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/29/98 at 00:04:53

Added sentence to indicate sections were deliberately empty.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter Semaphores Manager
10
11@section Introduction
12
13The
14semaphore manager is ...
15
16The directives provided by the semaphore manager are:
17
18@itemize @bullet
19@item @code{sem_init} -
20@item @code{sem_destroy} -
21@item @code{sem_open} -
22@item @code{sem_close} -
23@item @code{sem_unlink} -
24@item @code{sem_wait} -
25@item @code{sem_trywait} -
26@item @code{sem_post} -
27@item @code{sem_getvalue} -
28@end itemize
29
30@section Background
31
32There is currently no text in this section.
33
34@section Operations
35
36There is currently no text in this section.
37
38@section Directives
39
40This section details the semaphore manager's directives.
41A subsection is dedicated to each of this manager's directives
42and describes the calling sequence, related constants, usage,
43and status codes.
44
45@page
46@subsection sem_init -
47
48@subheading CALLING SEQUENCE:
49
50@ifset is-C
51@example
52int sem_init(
53);
54@end example
55@end ifset
56
57@ifset is-Ada
58@end ifset
59
60@subheading STATUS CODES:
61
62@table @b
63@item E
64The
65
66@end table
67
68@subheading DESCRIPTION:
69
70@subheading NOTES:
71
72@page
73@subsection sem_destroy -
74
75@subheading CALLING SEQUENCE:
76
77@ifset is-C
78@example
79int sem_destroy(
80);
81@end example
82@end ifset
83
84@ifset is-Ada
85@end ifset
86
87@subheading STATUS CODES:
88
89@table @b
90@item E
91The
92
93@end table
94
95@subheading DESCRIPTION:
96
97@subheading NOTES:
98
99@page
100@subsection sem_open -
101
102@subheading CALLING SEQUENCE:
103
104@ifset is-C
105@example
106int sem_open(
107);
108@end example
109@end ifset
110
111@ifset is-Ada
112@end ifset
113
114@subheading STATUS CODES:
115
116@table @b
117@item E
118The
119
120@end table
121
122@subheading DESCRIPTION:
123
124@subheading NOTES:
125
126@page
127@subsection sem_close -
128
129@subheading CALLING SEQUENCE:
130
131@ifset is-C
132@example
133int sem_close(
134);
135@end example
136@end ifset
137
138@ifset is-Ada
139@end ifset
140
141@subheading STATUS CODES:
142
143@table @b
144@item E
145The
146
147@end table
148
149@subheading DESCRIPTION:
150
151@subheading NOTES:
152
153@page
154@subsection sem_unlink -
155
156@subheading CALLING SEQUENCE:
157
158@ifset is-C
159@example
160int sem_unlink(
161);
162@end example
163@end ifset
164
165@ifset is-Ada
166@end ifset
167
168@subheading STATUS CODES:
169
170@table @b
171@item E
172The
173
174@end table
175
176@subheading DESCRIPTION:
177
178@subheading NOTES:
179
180@page
181@subsection sem_wait -
182
183@subheading CALLING SEQUENCE:
184
185@ifset is-C
186@example
187int sem_wait(
188);
189@end example
190@end ifset
191
192@ifset is-Ada
193@end ifset
194
195@subheading STATUS CODES:
196
197@table @b
198@item E
199The
200
201@end table
202
203@subheading DESCRIPTION:
204
205@subheading NOTES:
206
207@page
208@subsection sem_trywait -
209
210@subheading CALLING SEQUENCE:
211
212@ifset is-C
213@example
214int sem_trywait(
215);
216@end example
217@end ifset
218
219@ifset is-Ada
220@end ifset
221
222@subheading STATUS CODES:
223
224@table @b
225@item E
226The
227
228@end table
229
230@subheading DESCRIPTION:
231
232@subheading NOTES:
233
234@page
235@subsection sem_post -
236
237@subheading CALLING SEQUENCE:
238
239@ifset is-C
240@example
241int sem_post(
242);
243@end example
244@end ifset
245
246@ifset is-Ada
247@end ifset
248
249@subheading STATUS CODES:
250
251@table @b
252@item E
253The
254
255@end table
256
257@subheading DESCRIPTION:
258
259@subheading NOTES:
260
261@page
262@subsection sem_getvalue -
263
264@subheading CALLING SEQUENCE:
265
266@ifset is-C
267@example
268int sem_getvalue(
269);
270@end example
271@end ifset
272
273@ifset is-Ada
274@end ifset
275
276@subheading STATUS CODES:
277
278@table @b
279@item E
280The
281
282@end table
283
284@subheading DESCRIPTION:
285
286@subheading NOTES:
287
Note: See TracBrowser for help on using the repository browser.