source: rtems/doc/posix1003.1/ch11.t @ 76fa649

4.104.114.84.95
Last change on this file since 76fa649 was 76fa649, checked in by Joel Sherrill <joel.sherrill@…>, on 03/14/98 at 17:09:27

Added functions from POSIX standard.

  • Property mode set to 100644
File size: 1.8 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 Synchronization
10
11@section Semaphore Characteristics
12
13@section Semaphore Functions
14
15@subsection Initialize an Unnamed Semaphore
16
17@example
18sem_init()
19@end example
20
21@subsection Destroy an Unnamed Semaphore
22
23@example
24sem__destroy()
25@end example
26
27@subsection Initialize/Open a Named Semaphore
28
29@example
30sem_open()
31@end example
32
33@subsection Close a Named Semaphore
34
35@example
36sem_close()
37@end example
38
39@subsection Remove a Named Semaphore
40
41@example
42sem_unlink()
43@end example
44
45@subsection Lock a Semaphore
46
47@example
48sem_wait()
49sem_trywait()
50@end example
51
52@subsection Unlock a Semaphore
53
54@example
55sem_post()
56@end example
57
58@subsection Get the Value of a Semaphore
59
60@example
61sem_getvalue()
62@end example
63
64@section Mutexes
65
66@subsection Mutex Initialization Attributes
67
68@example
69pthread_mutexattr_init()
70pthread_mutexattr_destroy()
71pthread_mutexattr_getpshared()
72pthread_mutexattr_setpshared()
73@end example
74
75@subsection Initializing and Destroying a Mutex
76
77@example
78pthread_mutex_init()
79pthread_mutex_destroy()
80@end example
81
82@subsection Locking and Unlocking a Mutex
83
84@example
85pthread_mutex_lock()
86pthread_mutex_trylock()
87pthread_mutex_unlock()
88@end example
89
90@section Condition Variables
91
92@subsection Condition Variable Initialization Attributes
93
94@example
95pthread_condattr_init()
96pthread_condattr_destroy()
97pthread_condattr_getpshared()
98pthread_condattr_setpshared()
99@end example
100
101@subsection Initialization and Destroying Condition Variables
102
103@example
104pthread_cond_init()
105pthread_cond_destroy()
106@end example
107
108@subsection Broadcasting and Signaling a Condition
109
110@example
111pthread_cond_signal()
112pthread_cond_broadcast()
113@end example
114
115@subsection Waiting on a Condition
116
117@example
118pthread_cond_wait()
119pthread_cond_timedwait()
120@end example
121
Note: See TracBrowser for help on using the repository browser.