Thanks all for the help concerning floating point in an interrupt handler.
As far as there being something wrong with me or the design, I have to
say it is neither. Please don't judge to much without knowing the real
details of the application etc. Judgements like are useless most of the
time.
I personally don't think doing a few floating point calculations inside of an
interrupt handler or real time thread is TOO COMPLICATED. I guess its
a matter of definition!
Thanks Again,
Adam
At 11:21 AM 10/11/00 -0500, you wrote:
> Adam,
>
> I think this has already been discussed a lot in this list,
>but it's never too much: It's not a good practice to "stuff" a
>interrupt handler with "complicated" code, e.g. floating point
>calculations. As a good thumb rule: If your program design re-
>quires floating point at the handler level, there is something
>wrong with your design or with you. :-)
>
> In *your* case, I believe it's the design. ;-)
>
>
> Take care.
>
> gnd
>
>
> >Date: Wed, 11 Oct 2000 05:00:59 +0200
> >From: Paolo Mantegazza <[EMAIL PROTECTED]>
> >Subject: Re: [rtl] Simple floating point question
> >
> >Adam Meyerowitz wrote:
> >>
> >> Hello All,
> >>
> >> I am using RTL 2.0 pre 2 with a 2.2.13 kernel (yes, I know I should
> upgrade
> >> but it suits me just
> >> fine at the time being). I have a very simple module that has a
> >> init_module, cleanup_module and
> >> an interrupt handler. I would like to do some floating point calculations
> >> in my interrupt handler.
> >
> >Go to the RTAI home site at: http://www.aero.polimi.it/projects/rtai/,
> >click your mouse on "Hardware FPU support in interrupt handler" and
> >you'll learn how to do it in a snap.
> >
> >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/
> >
>
>
>
> -------------< G. N. DeSouza >-------------
> ---------< [EMAIL PROTECTED]>---------
> --< http://rvl1.ecn.purdue.edu/~gnelson >--
>
>
--
Adam Meyerowitz
Senior Software Engineer
Video Data Systems
40 Oser Avenue
Hauppauge, NY 11788
Tel# 631-231-4400
Fax# 631-231-4405
[EMAIL PROTECTED]
www.videodatasystems.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/