|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
|
3 <title>CanFestival: drivers/timers_unix/timers_unix.c File Reference</title> |
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
|
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
|
6 </head><body> |
|
7 <!-- Generated by Doxygen 1.5.1 --> |
|
8 <div class="tabs"> |
|
9 <ul> |
|
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
14 </ul></div> |
|
15 <div class="tabs"> |
|
16 <ul> |
|
17 <li><a href="files.html"><span>File List</span></a></li> |
|
18 <li><a href="globals.html"><span>Globals</span></a></li> |
|
19 </ul></div> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_d58fb241e647de6212c31ecccf9cbace.html">drivers</a> » <a class="el" href="dir_48aec78d2c68f8c6a53202ad028bcb76.html">timers_unix</a></div> |
|
22 <h1>timers_unix.c File Reference</h1><code>#include <stdlib.h></code><br> |
|
23 <code>#include <sys/time.h></code><br> |
|
24 <code>#include <pthread.h></code><br> |
|
25 <code>#include <signal.h></code><br> |
|
26 <code>#include "<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>"</code><br> |
|
27 <code>#include "<a class="el" href="timer_8h-source.html">timer.h</a>"</code><br> |
|
28 |
|
29 <p> |
|
30 Include dependency graph for timers_unix.c:<p><center><img src="timers__unix_8c__incl.png" border="0" usemap="#drivers/timers_unix/timers_unix.c_map" alt=""></center> |
|
31 <map name="drivers/timers_unix/timers_unix.c_map"> |
|
32 <area href="win32_2applicfg_8h.html" shape="rect" coords="745,349,833,373" alt=""> |
|
33 <area href="timer_8h.html" shape="rect" coords="313,301,383,325" alt=""> |
|
34 <area href="win32_2timerscfg_8h.html" shape="rect" coords="443,56,541,80" alt=""> |
|
35 <area href="data_8h.html" shape="rect" coords="460,301,524,325" alt=""> |
|
36 <area href="def_8h.html" shape="rect" coords="761,155,817,179" alt=""> |
|
37 <area href="can_8h.html" shape="rect" coords="613,301,672,325" alt=""> |
|
38 <area href="objdictdef_8h.html" shape="rect" coords="592,445,693,469" alt=""> |
|
39 <area href="objacces_8h.html" shape="rect" coords="596,349,689,373" alt=""> |
|
40 <area href="sdo_8h.html" shape="rect" coords="613,56,672,80" alt=""> |
|
41 <area href="pdo_8h.html" shape="rect" coords="613,203,672,227" alt=""> |
|
42 <area href="states_8h.html" shape="rect" coords="605,397,680,421" alt=""> |
|
43 <area href="lifegrd_8h.html" shape="rect" coords="604,541,681,565" alt=""> |
|
44 <area href="sync_8h.html" shape="rect" coords="609,493,676,517" alt=""> |
|
45 <area href="nmtMaster_8h.html" shape="rect" coords="589,155,696,179" alt=""> |
|
46 <area href="config_8h.html" shape="rect" coords="892,155,967,179" alt=""> |
|
47 </map> |
|
48 |
|
49 <p> |
|
50 <a href="timers__unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
51 <tr><td></td></tr> |
|
52 <tr><td colspan="2"><br><h2>Defines</h2></td></tr> |
|
53 <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#016587a4d6fc754357c47c9df9f0bde4">maxval</a>(a, b) ((a>b)?a:b)</td></tr> |
|
54 |
|
55 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037">EnterMutex</a> (void)</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b">LeaveMutex</a> (void)</td></tr> |
|
59 |
|
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4cd19302f57b08fc0403a05017332735">timer_notify</a> (sigval_t val)</td></tr> |
|
61 |
|
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#02922529b60419a94afe8f369dda070b">initTimer</a> (void)</td></tr> |
|
63 |
|
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#8758484f3cebb0cd44bb247c3f23d5e3">StopTimerLoop</a> (void)</td></tr> |
|
65 |
|
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#c9e1731843825eb55e7a94894e6a8ec5">StartTimerLoop</a> (<a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a> init_callback)</td></tr> |
|
67 |
|
68 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#a3a7df911baa20b01c4374a9677a154a">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)</td></tr> |
|
69 |
|
70 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4b2486891ee01e06e2deead4cf963727">WaitReceiveTaskEnd</a> (TASK_HANDLE Thread)</td></tr> |
|
71 |
|
72 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#b8d05dee70f04b5c5190ab00e84da106">setTimer</a> (TIMEVAL value)</td></tr> |
|
73 |
|
74 <tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#4dccc204d52176bd547ab34d6858f5ba">getElapsedTime</a> (void)</td></tr> |
|
75 |
|
76 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
77 <tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#93ad8a5a5e353192bfa45ae850df337f">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER</td></tr> |
|
78 |
|
79 <tr><td class="memItemLeft" nowrap align="right" valign="top">TASK_HANDLE </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#ef197e4f64855d2ac4ccbc40595d6bdd">TimerLoopThread</a></td></tr> |
|
80 |
|
81 <tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#9b886230a6b35bdd1532a27ee7400d10">last_time_set</a> = TIMEVAL_MAX</td></tr> |
|
82 |
|
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">timeval </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#bcf9307062fc6f0a7906547a892e38df">last_sig</a></td></tr> |
|
84 |
|
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">timer_t </td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#1a1e2de3a80567484c9b4d4f20d5a3d0">timer</a></td></tr> |
|
86 |
|
87 </table> |
|
88 <hr><h2>Define Documentation</h2> |
|
89 <a class="anchor" name="016587a4d6fc754357c47c9df9f0bde4"></a><!-- doxytag: member="timers_unix.c::maxval" ref="016587a4d6fc754357c47c9df9f0bde4" args="(a, b)" --> |
|
90 <div class="memitem"> |
|
91 <div class="memproto"> |
|
92 <table class="memname"> |
|
93 <tr> |
|
94 <td class="memname">#define maxval </td> |
|
95 <td>(</td> |
|
96 <td class="paramtype">a, <tr> |
|
97 <td class="paramkey"></td> |
|
98 <td></td> |
|
99 <td class="paramtype">b </td> |
|
100 <td class="paramname"> </td> |
|
101 <td> ) </td> |
|
102 <td width="100%"> ((a>b)?a:b)</td> |
|
103 </tr> |
|
104 </table> |
|
105 </div> |
|
106 <div class="memdoc"> |
|
107 |
|
108 <p> |
|
109 |
|
110 <p> |
|
111 Definition at line <a class="el" href="timers__unix_8c-source.html#l00082">82</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
112 <p> |
|
113 Referenced by <a class="el" href="timers__unix_8c-source.html#l00083">setTimer()</a>. |
|
114 </div> |
|
115 </div><p> |
|
116 <hr><h2>Function Documentation</h2> |
|
117 <a class="anchor" name="a3a7df911baa20b01c4374a9677a154a"></a><!-- doxytag: member="timers_unix.c::CreateReceiveTask" ref="a3a7df911baa20b01c4374a9677a154a" args="(CAN_PORT port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)" --> |
|
118 <div class="memitem"> |
|
119 <div class="memproto"> |
|
120 <table class="memname"> |
|
121 <tr> |
|
122 <td class="memname">void CreateReceiveTask </td> |
|
123 <td>(</td> |
|
124 <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#7ef59f941603c6680e74fc335523f17e">CAN_PORT</a> </td> |
|
125 <td class="paramname"> <em>port</em>, </td> |
|
126 </tr> |
|
127 <tr> |
|
128 <td class="paramkey"></td> |
|
129 <td></td> |
|
130 <td class="paramtype">TASK_HANDLE * </td> |
|
131 <td class="paramname"> <em>Thread</em>, </td> |
|
132 </tr> |
|
133 <tr> |
|
134 <td class="paramkey"></td> |
|
135 <td></td> |
|
136 <td class="paramtype">void * </td> |
|
137 <td class="paramname"> <em>ReceiveLoopPtr</em></td><td> </td> |
|
138 </tr> |
|
139 <tr> |
|
140 <td></td> |
|
141 <td>)</td> |
|
142 <td></td><td></td><td width="100%"></td> |
|
143 </tr> |
|
144 </table> |
|
145 </div> |
|
146 <div class="memdoc"> |
|
147 |
|
148 <p> |
|
149 |
|
150 <p> |
|
151 Definition at line <a class="el" href="timers__unix_8c-source.html#l00071">71</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
152 <p> |
|
153 Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>. |
|
154 </div> |
|
155 </div><p> |
|
156 <a class="anchor" name="d7fee43b8a44cf8b7036853593044037"></a><!-- doxytag: member="timers_unix.c::EnterMutex" ref="d7fee43b8a44cf8b7036853593044037" args="(void)" --> |
|
157 <div class="memitem"> |
|
158 <div class="memproto"> |
|
159 <table class="memname"> |
|
160 <tr> |
|
161 <td class="memname">void EnterMutex </td> |
|
162 <td>(</td> |
|
163 <td class="paramtype">void </td> |
|
164 <td class="paramname"> </td> |
|
165 <td> ) </td> |
|
166 <td width="100%"></td> |
|
167 </tr> |
|
168 </table> |
|
169 </div> |
|
170 <div class="memdoc"> |
|
171 |
|
172 <p> |
|
173 |
|
174 <p> |
|
175 Definition at line <a class="el" href="timers__unix_8c-source.html#l00020">20</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
176 <p> |
|
177 Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00156">canSend()</a>, <a class="el" href="timers__unix_8c-source.html#l00062">StartTimerLoop()</a>, <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>. |
|
178 </div> |
|
179 </div><p> |
|
180 <a class="anchor" name="4dccc204d52176bd547ab34d6858f5ba"></a><!-- doxytag: member="timers_unix.c::getElapsedTime" ref="4dccc204d52176bd547ab34d6858f5ba" args="(void)" --> |
|
181 <div class="memitem"> |
|
182 <div class="memproto"> |
|
183 <table class="memname"> |
|
184 <tr> |
|
185 <td class="memname">TIMEVAL getElapsedTime </td> |
|
186 <td>(</td> |
|
187 <td class="paramtype">void </td> |
|
188 <td class="paramname"> </td> |
|
189 <td> ) </td> |
|
190 <td width="100%"></td> |
|
191 </tr> |
|
192 </table> |
|
193 </div> |
|
194 <div class="memdoc"> |
|
195 |
|
196 <p> |
|
197 |
|
198 <p> |
|
199 Definition at line <a class="el" href="timers__unix_8c-source.html#l00098">98</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
200 <p> |
|
201 References <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>. |
|
202 </div> |
|
203 </div><p> |
|
204 <a class="anchor" name="02922529b60419a94afe8f369dda070b"></a><!-- doxytag: member="timers_unix.c::initTimer" ref="02922529b60419a94afe8f369dda070b" args="(void)" --> |
|
205 <div class="memitem"> |
|
206 <div class="memproto"> |
|
207 <table class="memname"> |
|
208 <tr> |
|
209 <td class="memname">void initTimer </td> |
|
210 <td>(</td> |
|
211 <td class="paramtype">void </td> |
|
212 <td class="paramname"> </td> |
|
213 <td> ) </td> |
|
214 <td width="100%"></td> |
|
215 </tr> |
|
216 </table> |
|
217 </div> |
|
218 <div class="memdoc"> |
|
219 |
|
220 <p> |
|
221 |
|
222 <p> |
|
223 Definition at line <a class="el" href="timers__unix_8c-source.html#l00039">39</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
224 <p> |
|
225 References <a class="el" href="portsaccess_8h-source.html#l00039">IO_PORTS_8</a>, <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>, <a class="el" href="interrupt_8c-source.html#l00049">lock()</a>, <a class="el" href="ports__def_8h-source.html#l00103">TCTL1</a>, <a class="el" href="ports__def_8h-source.html#l00107">TIE</a>, <a class="el" href="timers__unix_8c-source.html#l00018">timer</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, <a class="el" href="ports__def_8h-source.html#l00095">TIOS</a>, <a class="el" href="ports__def_8h-source.html#l00101">TSCR1</a>, <a class="el" href="ports__def_8h-source.html#l00108">TSCR2</a>, and <a class="el" href="interrupt_8c-source.html#l00057">unlock()</a>. |
|
226 <p> |
|
227 Here is the call graph for this function:<p><center><img src="timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph.png" border="0" usemap="#timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph_map" alt=""></center> |
|
228 <map name="timers__unix_8c_02922529b60419a94afe8f369dda070b_cgraph_map"> |
|
229 <area href="interrupt_8c.html#eb99ff49b4a6d5157416f9b5bd0d9c2c" shape="rect" coords="164,6,212,30" alt=""> |
|
230 <area href="timers__unix_8c.html#4cd19302f57b08fc0403a05017332735" shape="rect" coords="137,102,239,126" alt=""> |
|
231 <area href="interrupt_8c.html#987ce601d6d4c8eedd68b58db3b7811a" shape="rect" coords="155,54,221,78" alt=""> |
|
232 <area href="regs_8h.html#b1b104e72affb247e036289d0fc18ac7" shape="rect" coords="308,6,385,30" alt=""> |
|
233 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="297,54,396,78" alt=""> |
|
234 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="295,102,399,126" alt=""> |
|
235 <area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="289,150,404,174" alt=""> |
|
236 <area href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d" shape="rect" coords="453,150,584,174" alt=""> |
|
237 </map> |
|
238 |
|
239 </div> |
|
240 </div><p> |
|
241 <a class="anchor" name="73d9a4eb941fb20cf6b597840510394b"></a><!-- doxytag: member="timers_unix.c::LeaveMutex" ref="73d9a4eb941fb20cf6b597840510394b" args="(void)" --> |
|
242 <div class="memitem"> |
|
243 <div class="memproto"> |
|
244 <table class="memname"> |
|
245 <tr> |
|
246 <td class="memname">void LeaveMutex </td> |
|
247 <td>(</td> |
|
248 <td class="paramtype">void </td> |
|
249 <td class="paramname"> </td> |
|
250 <td> ) </td> |
|
251 <td width="100%"></td> |
|
252 </tr> |
|
253 </table> |
|
254 </div> |
|
255 <div class="memdoc"> |
|
256 |
|
257 <p> |
|
258 |
|
259 <p> |
|
260 Definition at line <a class="el" href="timers__unix_8c-source.html#l00025">25</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
261 <p> |
|
262 Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>, <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>, <a class="el" href="unix_8c-source.html#l00132">canReceiveLoop()</a>, <a class="el" href="drivers__win32_8cpp-source.html#l00156">canSend()</a>, <a class="el" href="timers__unix_8c-source.html#l00062">StartTimerLoop()</a>, <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>, <a class="el" href="timers__win32_8cpp-source.html#l00151">class_timers::timer_loop_thread_proc()</a>, <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>, and <a class="el" href="timers__xeno_8c-source.html#l00045">timerloop_task_proc()</a>. |
|
263 </div> |
|
264 </div><p> |
|
265 <a class="anchor" name="b8d05dee70f04b5c5190ab00e84da106"></a><!-- doxytag: member="timers_unix.c::setTimer" ref="b8d05dee70f04b5c5190ab00e84da106" args="(TIMEVAL value)" --> |
|
266 <div class="memitem"> |
|
267 <div class="memproto"> |
|
268 <table class="memname"> |
|
269 <tr> |
|
270 <td class="memname">void setTimer </td> |
|
271 <td>(</td> |
|
272 <td class="paramtype">TIMEVAL </td> |
|
273 <td class="paramname"> <em>value</em> </td> |
|
274 <td> ) </td> |
|
275 <td width="100%"></td> |
|
276 </tr> |
|
277 </table> |
|
278 </div> |
|
279 <div class="memdoc"> |
|
280 |
|
281 <p> |
|
282 |
|
283 <p> |
|
284 Definition at line <a class="el" href="timers__unix_8c-source.html#l00083">83</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
285 </div> |
|
286 </div><p> |
|
287 <a class="anchor" name="c9e1731843825eb55e7a94894e6a8ec5"></a><!-- doxytag: member="timers_unix.c::StartTimerLoop" ref="c9e1731843825eb55e7a94894e6a8ec5" args="(TimerCallback_t init_callback)" --> |
|
288 <div class="memitem"> |
|
289 <div class="memproto"> |
|
290 <table class="memname"> |
|
291 <tr> |
|
292 <td class="memname">void StartTimerLoop </td> |
|
293 <td>(</td> |
|
294 <td class="paramtype"><a class="el" href="timer_8h.html#f7d102e060339d3730ceae5fea03691b">TimerCallback_t</a> </td> |
|
295 <td class="paramname"> <em>init_callback</em> </td> |
|
296 <td> ) </td> |
|
297 <td width="100%"></td> |
|
298 </tr> |
|
299 </table> |
|
300 </div> |
|
301 <div class="memdoc"> |
|
302 |
|
303 <p> |
|
304 |
|
305 <p> |
|
306 Definition at line <a class="el" href="timers__unix_8c-source.html#l00062">62</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
307 <p> |
|
308 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>. |
|
309 </div> |
|
310 </div><p> |
|
311 <a class="anchor" name="8758484f3cebb0cd44bb247c3f23d5e3"></a><!-- doxytag: member="timers_unix.c::StopTimerLoop" ref="8758484f3cebb0cd44bb247c3f23d5e3" args="(void)" --> |
|
312 <div class="memitem"> |
|
313 <div class="memproto"> |
|
314 <table class="memname"> |
|
315 <tr> |
|
316 <td class="memname">void StopTimerLoop </td> |
|
317 <td>(</td> |
|
318 <td class="paramtype">void </td> |
|
319 <td class="paramname"> </td> |
|
320 <td> ) </td> |
|
321 <td width="100%"></td> |
|
322 </tr> |
|
323 </table> |
|
324 </div> |
|
325 <div class="memdoc"> |
|
326 |
|
327 <p> |
|
328 |
|
329 <p> |
|
330 Definition at line <a class="el" href="timers__unix_8c-source.html#l00055">55</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
331 <p> |
|
332 Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>. |
|
333 </div> |
|
334 </div><p> |
|
335 <a class="anchor" name="4cd19302f57b08fc0403a05017332735"></a><!-- doxytag: member="timers_unix.c::timer_notify" ref="4cd19302f57b08fc0403a05017332735" args="(sigval_t val)" --> |
|
336 <div class="memitem"> |
|
337 <div class="memproto"> |
|
338 <table class="memname"> |
|
339 <tr> |
|
340 <td class="memname">void timer_notify </td> |
|
341 <td>(</td> |
|
342 <td class="paramtype">sigval_t </td> |
|
343 <td class="paramname"> <em>val</em> </td> |
|
344 <td> ) </td> |
|
345 <td width="100%"></td> |
|
346 </tr> |
|
347 </table> |
|
348 </div> |
|
349 <div class="memdoc"> |
|
350 |
|
351 <p> |
|
352 |
|
353 <p> |
|
354 Definition at line <a class="el" href="timers__unix_8c-source.html#l00030">30</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
355 <p> |
|
356 References <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>, <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>, and <a class="el" href="timer_8c-source.html#l00131">TimeDispatch()</a>. |
|
357 <p> |
|
358 Referenced by <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>. |
|
359 <p> |
|
360 Here is the call graph for this function:<p><center><img src="timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph.png" border="0" usemap="#timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph_map" alt=""></center> |
|
361 <map name="timers__unix_8c_4cd19302f57b08fc0403a05017332735_cgraph_map"> |
|
362 <area href="timers__unix_8c.html#d7fee43b8a44cf8b7036853593044037" shape="rect" coords="167,6,266,30" alt=""> |
|
363 <area href="timers__unix_8c.html#73d9a4eb941fb20cf6b597840510394b" shape="rect" coords="164,54,268,78" alt=""> |
|
364 <area href="timer_8c.html#fa75192a3238525618f8cb83004930cc" shape="rect" coords="159,102,274,126" alt=""> |
|
365 <area href="canOpenDriver_8c.html#24dbe63e88d184388542037d16a8208d" shape="rect" coords="323,102,454,126" alt=""> |
|
366 </map> |
|
367 |
|
368 </div> |
|
369 </div><p> |
|
370 <a class="anchor" name="4b2486891ee01e06e2deead4cf963727"></a><!-- doxytag: member="timers_unix.c::WaitReceiveTaskEnd" ref="4b2486891ee01e06e2deead4cf963727" args="(TASK_HANDLE Thread)" --> |
|
371 <div class="memitem"> |
|
372 <div class="memproto"> |
|
373 <table class="memname"> |
|
374 <tr> |
|
375 <td class="memname">void WaitReceiveTaskEnd </td> |
|
376 <td>(</td> |
|
377 <td class="paramtype">TASK_HANDLE </td> |
|
378 <td class="paramname"> <em>Thread</em> </td> |
|
379 <td> ) </td> |
|
380 <td width="100%"></td> |
|
381 </tr> |
|
382 </table> |
|
383 </div> |
|
384 <div class="memdoc"> |
|
385 |
|
386 <p> |
|
387 |
|
388 <p> |
|
389 Definition at line <a class="el" href="timers__unix_8c-source.html#l00076">76</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
390 <p> |
|
391 Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>. |
|
392 </div> |
|
393 </div><p> |
|
394 <hr><h2>Variable Documentation</h2> |
|
395 <a class="anchor" name="93ad8a5a5e353192bfa45ae850df337f"></a><!-- doxytag: member="timers_unix.c::CanFestival_mutex" ref="93ad8a5a5e353192bfa45ae850df337f" args="" --> |
|
396 <div class="memitem"> |
|
397 <div class="memproto"> |
|
398 <table class="memname"> |
|
399 <tr> |
|
400 <td class="memname">pthread_mutex_t <a class="el" href="timers__xeno_8c.html#b6ebfe5bfc980bae026866758af3a7ff">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER </td> |
|
401 </tr> |
|
402 </table> |
|
403 </div> |
|
404 <div class="memdoc"> |
|
405 |
|
406 <p> |
|
407 |
|
408 <p> |
|
409 Definition at line <a class="el" href="timers__unix_8c-source.html#l00010">10</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
410 <p> |
|
411 Referenced by <a class="el" href="timers__unix_8c-source.html#l00020">EnterMutex()</a>, and <a class="el" href="timers__unix_8c-source.html#l00025">LeaveMutex()</a>. |
|
412 </div> |
|
413 </div><p> |
|
414 <a class="anchor" name="bcf9307062fc6f0a7906547a892e38df"></a><!-- doxytag: member="timers_unix.c::last_sig" ref="bcf9307062fc6f0a7906547a892e38df" args="" --> |
|
415 <div class="memitem"> |
|
416 <div class="memproto"> |
|
417 <table class="memname"> |
|
418 <tr> |
|
419 <td class="memname">struct timeval <a class="el" href="timers__unix_8c.html#bcf9307062fc6f0a7906547a892e38df">last_sig</a> </td> |
|
420 </tr> |
|
421 </table> |
|
422 </div> |
|
423 <div class="memdoc"> |
|
424 |
|
425 <p> |
|
426 |
|
427 <p> |
|
428 Definition at line <a class="el" href="timers__unix_8c-source.html#l00016">16</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
429 <p> |
|
430 Referenced by <a class="el" href="timers__unix_8c-source.html#l00098">getElapsedTime()</a>, <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>, and <a class="el" href="timers__unix_8c-source.html#l00030">timer_notify()</a>. |
|
431 </div> |
|
432 </div><p> |
|
433 <a class="anchor" name="9b886230a6b35bdd1532a27ee7400d10"></a><!-- doxytag: member="timers_unix.c::last_time_set" ref="9b886230a6b35bdd1532a27ee7400d10" args="" --> |
|
434 <div class="memitem"> |
|
435 <div class="memproto"> |
|
436 <table class="memname"> |
|
437 <tr> |
|
438 <td class="memname">TIMEVAL <a class="el" href="timers__unix_8c.html#9b886230a6b35bdd1532a27ee7400d10">last_time_set</a> = TIMEVAL_MAX </td> |
|
439 </tr> |
|
440 </table> |
|
441 </div> |
|
442 <div class="memdoc"> |
|
443 |
|
444 <p> |
|
445 |
|
446 <p> |
|
447 Definition at line <a class="el" href="timers__unix_8c-source.html#l00014">14</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
448 </div> |
|
449 </div><p> |
|
450 <a class="anchor" name="1a1e2de3a80567484c9b4d4f20d5a3d0"></a><!-- doxytag: member="timers_unix.c::timer" ref="1a1e2de3a80567484c9b4d4f20d5a3d0" args="" --> |
|
451 <div class="memitem"> |
|
452 <div class="memproto"> |
|
453 <table class="memname"> |
|
454 <tr> |
|
455 <td class="memname">timer_t <a class="el" href="timers__unix_8c.html#1a1e2de3a80567484c9b4d4f20d5a3d0">timer</a> </td> |
|
456 </tr> |
|
457 </table> |
|
458 </div> |
|
459 <div class="memdoc"> |
|
460 |
|
461 <p> |
|
462 |
|
463 <p> |
|
464 Definition at line <a class="el" href="timers__unix_8c-source.html#l00018">18</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
465 <p> |
|
466 Referenced by <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>, <a class="el" href="timers__unix_8c-source.html#l00083">setTimer()</a>, and <a class="el" href="timers__unix_8c-source.html#l00055">StopTimerLoop()</a>. |
|
467 </div> |
|
468 </div><p> |
|
469 <a class="anchor" name="ef197e4f64855d2ac4ccbc40595d6bdd"></a><!-- doxytag: member="timers_unix.c::TimerLoopThread" ref="ef197e4f64855d2ac4ccbc40595d6bdd" args="" --> |
|
470 <div class="memitem"> |
|
471 <div class="memproto"> |
|
472 <table class="memname"> |
|
473 <tr> |
|
474 <td class="memname">TASK_HANDLE <a class="el" href="timers__unix_8c.html#ef197e4f64855d2ac4ccbc40595d6bdd">TimerLoopThread</a> </td> |
|
475 </tr> |
|
476 </table> |
|
477 </div> |
|
478 <div class="memdoc"> |
|
479 |
|
480 <p> |
|
481 |
|
482 <p> |
|
483 Definition at line <a class="el" href="timers__unix_8c-source.html#l00012">12</a> of file <a class="el" href="timers__unix_8c-source.html">timers_unix.c</a>. |
|
484 </div> |
|
485 </div><p> |
|
486 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:51:42 2007 for CanFestival by |
|
487 <a href="http://www.doxygen.org/index.html"> |
|
488 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
489 </body> |
|
490 </html> |