roux jean-denis wrote:
>
> Hi all,
>
> When I 'm in a RTAI module, can I use the standards
> cli(), sti() save_flags() etc.... or did I have to
> turn them to RT??
>
> Thanks in advance for your answer.
> Regards
> Jean-Denis ROUX
Sorry, I thought I answered already. The functions above are useless
with RTAI and RTL as they do not insure real time atomic operations.
For RTAI you must use: hard_cli, hard_sti, hard_save_flags,
hard_restore_flags. There is also hard_save_flags_and_cli. Just include
Linux system.h. For RTL is the same, but the functions names are
different. Sorry but I do not remember them at the moment.
Ciao, Paolo.
-- [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/