[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rtl] FP Use in IRQ-Handler



>>>>> "Tobias" == Tobias Klotz <klotz@iti.mu-luebeck.de> writes:

    > Hello!  Can I use floats in my Interrupthandler? I tried to
    > enable floating point support by this command:

    > pthread_setfp_np (pthread_self(), 1);

    > I placed it in the first line of my Interupt Service Routine but
    > it crashes everytime I try to use it ;=((

Look at http://www.rtai.org - there is a nice paper on what to do to
make it work - with any Linux.

Jochen
-- 
Heinrich-Heine-Universität
Institut für Physikalische Chemie I
Jochen Küpper
Universitätsstr. 1, Geb. 26.43 Raum 02.29
40225 Düsseldorf, Germany
phone ++49-211-8113681, fax ++49-211-8115195
http://www.Jochen-Kuepper.de