source: rtems/doc/posix1003.1/ch11.t @ 7331714

4.104.114.84.95
Last change on this file since 7331714 was 7331714, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 18, 1998 at 6:15:01 PM

Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.

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