On Wed, Aug 16, 2000 at 08:49:24PM -0400, Tony Mouawad wrote:
> Does RT support usleep( ) from within a module?

        Since modules run in kernel space (and therefore don't have direct
access to user-level functions), and since usleep is not an available function
in the kernel, the short and simple answer is no.  However, there is a
macro available in the kernel called udelay, which i believe (correct me if
i'm wrong) gives you a delay in microseconds.

-- 
Nathan Paul Simons, Programmer for FSMLabs
http://www.fsmlabs.com/
-- 
Nathan Paul Simons, Programmer for FSMLabs
http://www.fsmlabs.com/
-- [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