Using FPU in FIFO handlers is not directly supported in RTLinux.
You can use a server thread like

thread()
{
        while(1) {
                sem_wait(&sem);
                f = sin(f);
                ...
        }
}

fifo_handler()
{
        sem_post(&sem);
}

Michael.

Chandu Reddy K ([EMAIL PROTECTED]) wrote:
> 
>    Hi
>     all
>       i have a doubt that whether it is allowed to use floatinng point
>      operation in FIFO handlers, I mean calling math.h functions in fifo
>      handlers in an rt module.     
>     and also usage of math.h functions in normal functions in
>     function in a rt module.
>   iam  thinking  that one can use, with out any side effects...
>   could any one pls clarify the same..........
> 
> 
>    Advance Thanks
>    chandu
> 
> 
> 
> 
> These are my personal interests/openions
> 
> ----- End of forwarded message from [EMAIL PROTECTED] -----
> -- [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/

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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/

Reply via email to