RTL has both usleep and nanosleep although the news of this has not
yet made it to our documentation.

On Thu, Aug 17, 2000 at 09:29:10PM -0600, Nathan Simons wrote:
> 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/

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.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