OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [doc/] [posix1003.1/] [ch11.t] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
@c
2
@c  COPYRIGHT (c) 1988-2002.
3
@c  On-Line Applications Research Corporation (OAR).
4
@c  All rights reserved.
5
@c
6
@c  ch11.t,v 1.11 2002/01/17 21:47:45 joel Exp
7
@c
8
 
9
@chapter Synchronization
10
 
11
@section Semaphore Characteristics
12
 
13
NOTE: Semaphores are implemented but only unnamed semaphores
14
are currently tested.
15
 
16
@example
17
sem_t, Type, Implemented
18
@end example
19
 
20
@section Semaphore Functions
21
 
22
@subsection Initialize an Unnamed Semaphore
23
 
24
@example
25
sem_init(), Function, Implemented
26
SEM_FAILED, Constant, Implemented
27
@end example
28
 
29
@subsection Destroy an Unnamed Semaphore
30
 
31
@example
32
sem_destroy(), Function, Implemented
33
@end example
34
 
35
@subsection Initialize/Open a Named Semaphore
36
 
37
@example
38
sem_open(), Function, Implemented
39
@end example
40
 
41
@subsection Close a Named Semaphore
42
 
43
@example
44
sem_close(), Function, Implemented
45
@end example
46
 
47
@subsection Remove a Named Semaphore
48
 
49
@example
50
sem_unlink(), Function, Implemented
51
@end example
52
 
53
@subsection Lock a Semaphore
54
 
55
@example
56
sem_wait(), Function, Implemented
57
sem_trywait(), Function, Implemented
58
@end example
59
 
60
@subsection Unlock a Semaphore
61
 
62
@example
63
sem_post(), Function, Implemented
64
@end example
65
 
66
@subsection Get the Value of a Semaphore
67
 
68
@example
69
sem_getvalue(), Function, Implemented
70
@end example
71
 
72
@section Mutexes
73
 
74
@subsection Mutex Initialization Attributes
75
 
76
@example
77
pthread_mutexattr_init(), Function, Implemented
78
pthread_mutexattr_destroy(), Function, Implemented
79
pthread_mutexattr_getpshared(), Function, Implemented
80
pthread_mutexattr_setpshared(), Function, Implemented
81
PTHREAD_PROCESS_SHARED, Constant, Implemented
82
PTHREAD_PROCESS_PRIVATE, Constant, Implemented
83
@end example
84
 
85
@subsection Initializing and Destroying a Mutex
86
 
87
@example
88
pthread_mutex_init(), Function, Implemented
89
pthread_mutex_destroy(), Function, Implemented
90
PTHREAD_MUTEX_INITIALIZER, Constant, Implemented
91
@end example
92
 
93
@subsection Locking and Unlocking a Mutex
94
 
95
@example
96
pthread_mutex_lock(), Function, Implemented
97
pthread_mutex_trylock(), Function, Implemented
98
pthread_mutex_unlock(), Function, Implemented
99
@end example
100
 
101
@section Condition Variables
102
 
103
@subsection Condition Variable Initialization Attributes
104
 
105
@example
106
pthread_condattr_init(), Function, Implemented
107
pthread_condattr_destroy(), Function, Implemented
108
pthread_condattr_getpshared(), Function, Implemented
109
pthread_condattr_setpshared(), Function, Implemented
110
@end example
111
 
112
@subsection Initialization and Destroying Condition Variables
113
 
114
@example
115
pthread_cond_init(), Function, Implemented
116
pthread_cond_destroy(), Function, Implemented
117
PTHREAD_COND_INITIALIZER, Constant, Implemented
118
@end example
119
 
120
@subsection Broadcasting and Signaling a Condition
121
 
122
@example
123
pthread_cond_signal(), Function, Implemented
124
pthread_cond_broadcast(), Function, Implemented
125
@end example
126
 
127
@subsection Waiting on a Condition
128
 
129
@example
130
pthread_cond_wait(), Function, Implemented
131
pthread_cond_timedwait(), Function, Implemented
132
@end example
133
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.