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_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a> » <a class="el" href="dir_ef7bbe78f2bc1c31fd793635a3143fcc.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="749,512,824,539" alt=""> |
|
33 <area href="timer_8h.html" shape="rect" coords="265,512,324,539" alt=""> |
|
34 <area href="win32_2timerscfg_8h.html" shape="rect" coords="383,803,463,829" alt=""> |
|
35 <area href="data_8h.html" shape="rect" coords="396,512,449,539" alt=""> |
|
36 <area href="def_8h.html" shape="rect" coords="652,765,700,792" alt=""> |
|
37 <area href="can_8h.html" shape="rect" coords="652,664,700,691" alt=""> |
|
38 <area href="objdictdef_8h.html" shape="rect" coords="515,613,600,640" alt=""> |
|
39 <area href="objacces_8h.html" shape="rect" coords="519,309,596,336" alt=""> |
|
40 <area href="sdo_8h.html" shape="rect" coords="533,816,581,843" alt=""> |
|
41 <area href="pdo_8h.html" shape="rect" coords="532,715,583,741" alt=""> |
|
42 <area href="states_8h.html" shape="rect" coords="527,461,588,488" alt=""> |
|
43 <area href="lifegrd_8h.html" shape="rect" coords="524,512,591,539" alt=""> |
|
44 <area href="sync_8h.html" shape="rect" coords="529,360,585,387" alt=""> |
|
45 <area href="nmtMaster_8h.html" shape="rect" coords="513,411,601,437" alt=""> |
|
46 <area href="config_8h.html" shape="rect" coords="755,765,819,792" 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#191df9418bfcc2c4774dc16d694c3ae9">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#aa3c568288a54a9398524255602bbce8">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#887d197b991c23bc11f626ae688abec7">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#40e7943587a24eae55dd73d80a913750">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#607bd2711b85a87fce51334bb36bad1a">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#8d52f2db8b505e53ace5dd1c2a789d94">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#dd08f21a7c3fcbcd53a2c41b00879fdd">StartTimerLoop</a> (<a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">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#09c921f9537f26895843a3c21620855b">CreateReceiveTask</a> (<a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">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#b21b041545f4dfc5660514fbc3c2f89c">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#7996006c628d2df030b9684d7a86acd1">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#75efe30105165658d05d871255f8c0a2">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#16cebc4fb81e0421b9d57fcb5d7b2515">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#f62736ba59e8abc802e4b27965525bfa">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#ed17ba940066a6220122e40c59387729">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#ed3ab12fbab0a49f4643a662d72332e7">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#bfccb49fc2d68544485b740a56da0f47">timer</a></td></tr> |
|
86 |
|
87 </table> |
|
88 <hr><h2>Define Documentation</h2> |
|
89 <a class="anchor" name="191df9418bfcc2c4774dc16d694c3ae9"></a><!-- doxytag: member="timers_unix.c::maxval" ref="191df9418bfcc2c4774dc16d694c3ae9" 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="09c921f9537f26895843a3c21620855b"></a><!-- doxytag: member="timers_unix.c::CreateReceiveTask" ref="09c921f9537f26895843a3c21620855b" 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#c5a917a8cacf5edd42ba6486c0c8a243">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="aa3c568288a54a9398524255602bbce8"></a><!-- doxytag: member="timers_unix.c::EnterMutex" ref="aa3c568288a54a9398524255602bbce8" 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="75efe30105165658d05d871255f8c0a2"></a><!-- doxytag: member="timers_unix.c::getElapsedTime" ref="75efe30105165658d05d871255f8c0a2" 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="607bd2711b85a87fce51334bb36bad1a"></a><!-- doxytag: member="timers_unix.c::initTimer" ref="607bd2711b85a87fce51334bb36bad1a" 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_607bd2711b85a87fce51334bb36bad1a_cgraph.png" border="0" usemap="#timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph_map" alt=""></center> |
|
228 <map name="timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph_map"> |
|
229 <area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="148,5,191,32" alt=""> |
|
230 <area href="timers__unix_8c.html#40e7943587a24eae55dd73d80a913750" shape="rect" coords="125,107,213,133" alt=""> |
|
231 <area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="141,56,197,83" alt=""> |
|
232 <area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="276,5,345,32" alt=""> |
|
233 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="268,56,353,83" alt=""> |
|
234 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="267,107,355,133" alt=""> |
|
235 <area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="263,157,359,184" alt=""> |
|
236 <area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="409,157,516,184" alt=""> |
|
237 </map> |
|
238 |
|
239 </div> |
|
240 </div><p> |
|
241 <a class="anchor" name="887d197b991c23bc11f626ae688abec7"></a><!-- doxytag: member="timers_unix.c::LeaveMutex" ref="887d197b991c23bc11f626ae688abec7" 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="7996006c628d2df030b9684d7a86acd1"></a><!-- doxytag: member="timers_unix.c::setTimer" ref="7996006c628d2df030b9684d7a86acd1" 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="dd08f21a7c3fcbcd53a2c41b00879fdd"></a><!-- doxytag: member="timers_unix.c::StartTimerLoop" ref="dd08f21a7c3fcbcd53a2c41b00879fdd" 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#c8436e7543fa1329b00e570246071313">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="8d52f2db8b505e53ace5dd1c2a789d94"></a><!-- doxytag: member="timers_unix.c::StopTimerLoop" ref="8d52f2db8b505e53ace5dd1c2a789d94" 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="40e7943587a24eae55dd73d80a913750"></a><!-- doxytag: member="timers_unix.c::timer_notify" ref="40e7943587a24eae55dd73d80a913750" 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_40e7943587a24eae55dd73d80a913750_cgraph.png" border="0" usemap="#timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph_map" alt=""></center> |
|
361 <map name="timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph_map"> |
|
362 <area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="148,5,233,32" alt=""> |
|
363 <area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="147,56,235,83" alt=""> |
|
364 <area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="143,107,239,133" alt=""> |
|
365 <area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="289,107,396,133" alt=""> |
|
366 </map> |
|
367 |
|
368 </div> |
|
369 </div><p> |
|
370 <a class="anchor" name="b21b041545f4dfc5660514fbc3c2f89c"></a><!-- doxytag: member="timers_unix.c::WaitReceiveTaskEnd" ref="b21b041545f4dfc5660514fbc3c2f89c" 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="16cebc4fb81e0421b9d57fcb5d7b2515"></a><!-- doxytag: member="timers_unix.c::CanFestival_mutex" ref="16cebc4fb81e0421b9d57fcb5d7b2515" 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#7b04510000ccc2625dfec31ce1af3d95">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="ed3ab12fbab0a49f4643a662d72332e7"></a><!-- doxytag: member="timers_unix.c::last_sig" ref="ed3ab12fbab0a49f4643a662d72332e7" 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#ed3ab12fbab0a49f4643a662d72332e7">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="ed17ba940066a6220122e40c59387729"></a><!-- doxytag: member="timers_unix.c::last_time_set" ref="ed17ba940066a6220122e40c59387729" 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#ed17ba940066a6220122e40c59387729">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="bfccb49fc2d68544485b740a56da0f47"></a><!-- doxytag: member="timers_unix.c::timer" ref="bfccb49fc2d68544485b740a56da0f47" 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#bfccb49fc2d68544485b740a56da0f47">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="f62736ba59e8abc802e4b27965525bfa"></a><!-- doxytag: member="timers_unix.c::TimerLoopThread" ref="f62736ba59e8abc802e4b27965525bfa" 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#f62736ba59e8abc802e4b27965525bfa">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 Mon Jul 2 19:10:19 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> |
|