On Thu, Mar 02, 2000 at 09:02:27AM +0100, Alain Rolle wrote:
> Hi there,
> 
> I'm implementing a RT driver (RTL2.0 ,Kernel 2.2.13) and I'm not sure that
> I can use "jiffies" in it (I'm using these for detecting time outs).
> Should I not use some rtl specific call to do that?  Same question
> concerning the linux "udelay" call. Can someone help me on this topic ?
> 

You may use jiffies, but remember that it will never be updated while
you are running real-time code.  (Because interrupts are disabled.)

udelay() is completely real-time compatible.  (Possibly untrue for 2.2.15pre10.)



dave...


-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to