Daniel Krippner wrote:
> 
>         Hi there!
> 
> Another dummy question:
> What is the way to put an rtlinux task to sleep? If I call
> mdelay/udelay, the task is busy-sleeping, right?
> Can I use timeouts for delaying rt tasks? Is there a function in the
> rtlinux api I overlooked?
> thanks
>         Daniel

Hi Daniel,

On RTAI you can use rt_task_suspend(&task) 

on RTLinux you can use pthread_suspend_np(thread)

Regards, Stuart
-- [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