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