doc/doxygen/html/timers__unix_8c.html
author lbessard
Thu, 06 Dec 2007 17:55:46 +0100
changeset 323 4df7e6d2d1db
parent 240 34654679f262
permissions -rw-r--r--
Adding "ParameterValue" as optional parameter for "VAR" entries
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CanFestival: drivers/timers_unix/timers_unix.c File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_65dd258ff9b9ef4cd7bd0d22f5e58dba.html">drivers</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_ef7bbe78f2bc1c31fd793635a3143fcc.html">timers_unix</a></div>
<h1>timers_unix.c File Reference</h1><code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;sys/time.h&gt;</code><br>
<code>#include &lt;pthread.h&gt;</code><br>
<code>#include &lt;signal.h&gt;</code><br>
<code>#include &quot;<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="timer_8h-source.html">timer.h</a>&quot;</code><br>

<p>
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>
<map name="drivers/timers_unix/timers_unix.c_map">
<area href="win32_2applicfg_8h.html" shape="rect" coords="749,512,824,539" alt="">
<area href="timer_8h.html" shape="rect" coords="265,512,324,539" alt="">
<area href="win32_2timerscfg_8h.html" shape="rect" coords="383,803,463,829" alt="">
<area href="data_8h.html" shape="rect" coords="396,512,449,539" alt="">
<area href="def_8h.html" shape="rect" coords="652,765,700,792" alt="">
<area href="can_8h.html" shape="rect" coords="652,664,700,691" alt="">
<area href="objdictdef_8h.html" shape="rect" coords="515,613,600,640" alt="">
<area href="objacces_8h.html" shape="rect" coords="519,309,596,336" alt="">
<area href="sdo_8h.html" shape="rect" coords="533,816,581,843" alt="">
<area href="pdo_8h.html" shape="rect" coords="532,715,583,741" alt="">
<area href="states_8h.html" shape="rect" coords="527,461,588,488" alt="">
<area href="lifegrd_8h.html" shape="rect" coords="524,512,591,539" alt="">
<area href="sync_8h.html" shape="rect" coords="529,360,585,387" alt="">
<area href="nmtMaster_8h.html" shape="rect" coords="513,411,601,437" alt="">
<area href="config_8h.html" shape="rect" coords="755,765,819,792" alt="">
</map>

<p>
<a href="timers__unix_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#191df9418bfcc2c4774dc16d694c3ae9">maxval</a>(a, b)&nbsp;&nbsp;&nbsp;((a&gt;b)?a:b)</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8">EnterMutex</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7">LeaveMutex</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#40e7943587a24eae55dd73d80a913750">timer_notify</a> (sigval_t val)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#607bd2711b85a87fce51334bb36bad1a">initTimer</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#8d52f2db8b505e53ace5dd1c2a789d94">StopTimerLoop</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</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>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#b21b041545f4dfc5660514fbc3c2f89c">WaitReceiveTaskEnd</a> (TASK_HANDLE Thread)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#7996006c628d2df030b9684d7a86acd1">setTimer</a> (TIMEVAL value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#75efe30105165658d05d871255f8c0a2">getElapsedTime</a> (void)</td></tr>

<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">pthread_mutex_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#16cebc4fb81e0421b9d57fcb5d7b2515">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TASK_HANDLE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#f62736ba59e8abc802e4b27965525bfa">TimerLoopThread</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">TIMEVAL&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#ed17ba940066a6220122e40c59387729">last_time_set</a> = TIMEVAL_MAX</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">timeval&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#ed3ab12fbab0a49f4643a662d72332e7">last_sig</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">timer_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="timers__unix_8c.html#bfccb49fc2d68544485b740a56da0f47">timer</a></td></tr>

</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="191df9418bfcc2c4774dc16d694c3ae9"></a><!-- doxytag: member="timers_unix.c::maxval" ref="191df9418bfcc2c4774dc16d694c3ae9" args="(a, b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define maxval          </td>
          <td>(</td>
          <td class="paramtype">a,         <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">b&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;((a&gt;b)?a:b)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="timers__unix_8c-source.html#l00083">setTimer()</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="09c921f9537f26895843a3c21620855b"></a><!-- doxytag: member="timers_unix.c::CreateReceiveTask" ref="09c921f9537f26895843a3c21620855b" args="(CAN_PORT port, TASK_HANDLE *Thread, void *ReceiveLoopPtr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CreateReceiveTask           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="win32_2applicfg_8h.html#c5a917a8cacf5edd42ba6486c0c8a243">CAN_PORT</a>&nbsp;</td>
          <td class="paramname"> <em>port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TASK_HANDLE *&nbsp;</td>
          <td class="paramname"> <em>Thread</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>ReceiveLoopPtr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="unix_8c-source.html#l00145">canOpen()</a>.
</div>
</div><p>
<a class="anchor" name="aa3c568288a54a9398524255602bbce8"></a><!-- doxytag: member="timers_unix.c::EnterMutex" ref="aa3c568288a54a9398524255602bbce8" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnterMutex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="75efe30105165658d05d871255f8c0a2"></a><!-- doxytag: member="timers_unix.c::getElapsedTime" ref="75efe30105165658d05d871255f8c0a2" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TIMEVAL getElapsedTime           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
References <a class="el" href="timers__unix_8c-source.html#l00016">last_sig</a>.
</div>
</div><p>
<a class="anchor" name="607bd2711b85a87fce51334bb36bad1a"></a><!-- doxytag: member="timers_unix.c::initTimer" ref="607bd2711b85a87fce51334bb36bad1a" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void initTimer           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
<p>
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>
<map name="timers__unix_8c_607bd2711b85a87fce51334bb36bad1a_cgraph_map">
<area href="interrupt_8c.html#a86d31d31831be20de69b1533b4acc5b" shape="rect" coords="148,5,191,32" alt="">
<area href="timers__unix_8c.html#40e7943587a24eae55dd73d80a913750" shape="rect" coords="125,107,213,133" alt="">
<area href="interrupt_8c.html#8704c06a2936e68f7c25dc0c1d335cca" shape="rect" coords="141,56,197,83" alt="">
<area href="regs_8h.html#d28436d08fab91f8bebd7fd082b3f757" shape="rect" coords="276,5,345,32" alt="">
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="268,56,353,83" alt="">
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="267,107,355,133" alt="">
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="263,157,359,184" alt="">
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="409,157,516,184" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="887d197b991c23bc11f626ae688abec7"></a><!-- doxytag: member="timers_unix.c::LeaveMutex" ref="887d197b991c23bc11f626ae688abec7" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LeaveMutex           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="7996006c628d2df030b9684d7a86acd1"></a><!-- doxytag: member="timers_unix.c::setTimer" ref="7996006c628d2df030b9684d7a86acd1" args="(TIMEVAL value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setTimer           </td>
          <td>(</td>
          <td class="paramtype">TIMEVAL&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="dd08f21a7c3fcbcd53a2c41b00879fdd"></a><!-- doxytag: member="timers_unix.c::StartTimerLoop" ref="dd08f21a7c3fcbcd53a2c41b00879fdd" args="(TimerCallback_t init_callback)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StartTimerLoop           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="timer_8h.html#c8436e7543fa1329b00e570246071313">TimerCallback_t</a>&nbsp;</td>
          <td class="paramname"> <em>init_callback</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="8d52f2db8b505e53ace5dd1c2a789d94"></a><!-- doxytag: member="timers_unix.c::StopTimerLoop" ref="8d52f2db8b505e53ace5dd1c2a789d94" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void StopTimerLoop           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="TestMasterMicroMod_8c-source.html#l00397">main()</a>.
</div>
</div><p>
<a class="anchor" name="40e7943587a24eae55dd73d80a913750"></a><!-- doxytag: member="timers_unix.c::timer_notify" ref="40e7943587a24eae55dd73d80a913750" args="(sigval_t val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void timer_notify           </td>
          <td>(</td>
          <td class="paramtype">sigval_t&nbsp;</td>
          <td class="paramname"> <em>val</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
<p>
Referenced by <a class="el" href="timers__unix_8c-source.html#l00039">initTimer()</a>.
<p>
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>
<map name="timers__unix_8c_40e7943587a24eae55dd73d80a913750_cgraph_map">
<area href="timers__unix_8c.html#aa3c568288a54a9398524255602bbce8" shape="rect" coords="148,5,233,32" alt="">
<area href="timers__unix_8c.html#887d197b991c23bc11f626ae688abec7" shape="rect" coords="147,56,235,83" alt="">
<area href="timer_8c.html#7a5a515821c2e4fb2f66bac72389da00" shape="rect" coords="143,107,239,133" alt="">
<area href="canOpenDriver_8c.html#38b23a8ee3748bca3415967b90df1e15" shape="rect" coords="289,107,396,133" alt="">
</map>

</div>
</div><p>
<a class="anchor" name="b21b041545f4dfc5660514fbc3c2f89c"></a><!-- doxytag: member="timers_unix.c::WaitReceiveTaskEnd" ref="b21b041545f4dfc5660514fbc3c2f89c" args="(TASK_HANDLE Thread)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WaitReceiveTaskEnd           </td>
          <td>(</td>
          <td class="paramtype">TASK_HANDLE&nbsp;</td>
          <td class="paramname"> <em>Thread</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
Referenced by <a class="el" href="unix_8c-source.html#l00178">canClose()</a>.
</div>
</div><p>
<hr><h2>Variable Documentation</h2>
<a class="anchor" name="16cebc4fb81e0421b9d57fcb5d7b2515"></a><!-- doxytag: member="timers_unix.c::CanFestival_mutex" ref="16cebc4fb81e0421b9d57fcb5d7b2515" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pthread_mutex_t <a class="el" href="timers__xeno_8c.html#7b04510000ccc2625dfec31ce1af3d95">CanFestival_mutex</a> = PTHREAD_MUTEX_INITIALIZER          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="ed3ab12fbab0a49f4643a662d72332e7"></a><!-- doxytag: member="timers_unix.c::last_sig" ref="ed3ab12fbab0a49f4643a662d72332e7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct timeval <a class="el" href="timers__unix_8c.html#ed3ab12fbab0a49f4643a662d72332e7">last_sig</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="ed17ba940066a6220122e40c59387729"></a><!-- doxytag: member="timers_unix.c::last_time_set" ref="ed17ba940066a6220122e40c59387729" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TIMEVAL <a class="el" href="timers__unix_8c.html#ed17ba940066a6220122e40c59387729">last_time_set</a> = TIMEVAL_MAX          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<a class="anchor" name="bfccb49fc2d68544485b740a56da0f47"></a><!-- doxytag: member="timers_unix.c::timer" ref="bfccb49fc2d68544485b740a56da0f47" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">timer_t <a class="el" href="timers__unix_8c.html#bfccb49fc2d68544485b740a56da0f47">timer</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
<p>
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>.
</div>
</div><p>
<a class="anchor" name="f62736ba59e8abc802e4b27965525bfa"></a><!-- doxytag: member="timers_unix.c::TimerLoopThread" ref="f62736ba59e8abc802e4b27965525bfa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TASK_HANDLE <a class="el" href="timers__unix_8c.html#f62736ba59e8abc802e4b27965525bfa">TimerLoopThread</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
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>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:19 2007 for CanFestival by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>