Hi,<br><br>thanks for your reply. <br><br>the reason of the need for delay is that :<br>i want to add some milliseconds delay between contiguous hardware configuration instruction. <br>so maybe it&#39;s no need to use this powerful method&nbsp; such as timer. 
<br>so are there any alternative way to achieve this goal?<br>p.s. where are those examples use timer server i can refer to?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( i want to learn how to use timer too )<br><br><br><br>another questions for register irq handler: 
<br>if i want to use function_A as irq #B&#39;s handler<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thread_ref_t thrd;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thrd = thread_create_simple( function_A, NULL, 100 );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hardware_register_interrupt( thread_l4tid(thrd), B );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>is the right way to register it?<br><br><br><br><br><div><span class="gmail_quote">2007/11/29, Jorge Torres &lt;<a href="mailto:jorge.torres.maldonado@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
  jorge.torres.maldonado@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
<div>Hi,</div><div>&nbsp;</div><div>You can use iguana&#39;s timer server, there are some examples, at which you can look at,</div><div>&nbsp;</div><div>Cheers,</div><div>&nbsp;</div><div>Jorge<br><br></div><div class="gmail_quote"><div>
<span>On Nov 28, 2007 2:49 AM, kashin Lin &lt;<a href="mailto:kashin08@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">kashin08@gmail.com</a>&gt; wrote: <br></span></div><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.80ex; padding-left: 1ex">
<div><span>Hi,<br><br>i wonder know if OKL4&nbsp;or&nbsp;Iguana has any system call or API that can delay<br><br>several msec,( similar to uDelay or mDelay in linux kernel). and how to use it? <br><br>ex: which header file&nbsp;i&nbsp;should&nbsp;include,&nbsp;and&nbsp;what&nbsp;function&nbsp;i&nbsp;can&nbsp;call? 
<br><br><br>another quetion is about request IRQ:<br><br>in linux kernel there is a functin named request_irq whitch can map a IRQ# to a handler routine.  <br><br>i noticed there is a function named hardware_register_interrupt in iguana, but the parameters are 
<br><br>IRQ# and a thread id. it doesn&#39;t make sense for me. why not a handler routine instead of a thread id?<br><br>if i want to rigster a handler routine for a IRQ#, how should i do?<br><br></span></div>_______________________________________________
<br>Developer mailing list<br><a href="mailto:Developer@okl4.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">   Developer@okl4.org</a><br><a href="https://lists.okl4.org/mailman/listinfo/developer" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
 https://lists.okl4.org/mailman/listinfo/developer</a><br><br></blockquote></div><br></blockquote></div><br>