Try to use this function for fp with:
pthread_setfp_np(thread_id,flag);
thread_id is the id of your thread
flag=0, unused
flag!=0 use fp
You need this function to save some registers status (increase the access
time to your thread of around 3 microsecondes on a P100).
Good luck
Stephane
A 21:51 00-03-31 +0200, vous avez �crit :
>
>What am I doing wrong ?
>
>I want an RT-module that fills an array of floating points.
>When I run this module whit integers in stead of floats every thing is all
>right, when I change the int's by float's my computer freezes ...
>
>The array is in shared memory, but I don't think that's the problem.
>I read something on the net over FPU ... should I use this (and how ?) ?
>
>
>thanks in advance
>
>jan
>
>-- [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/
>
>
>
-- [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/