A FIFO-handler (registered via rtf_create_handler()) is executed in Linux
kernel context, which does not support floating-point operations.

Try to let the FIFO-handler just wake up an FP RT thread that actually
calls rtf_get() on the float type.

Mario Taschwer

On Tue, Apr 09, 2002 at 08:32:27PM +0200, Michael Nielsen wrote:
>  
> > Make sure you used  rtl_pthread_attr_setfp when you created the thread.
> > Victor Yodaiken 
> 
> Must the FIFO-handler be a thread ?
> 
> I have made it just like you make an ordinary interrupt service routine (normal 
>kernel function). Is that wrong ?
> 
> By the way when i print the same float as hexadecimal number (option %x) in both the 
>user-space program and in the kernel-space, they are different, but if i cast it to 
>unsigned int then they seem to be identical.
> Can you give a good explanation for that ?
> 
> Thanks in advance
> 
> Michael 
-- [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