Hi Chuck,
On Fri, Oct 27, 2000 at 07:59:56AM -0400, [EMAIL PROTECTED] wrote:
>
> On Fri, 27 Oct 2000, Pavel Andris wrote:
> > Try to put your pthread_setfp_np call as the first statement in your
> > RTthread. Calling it in init_module after creating the RT thread may
> > be too late. Regards, pa
>
> Is this correct? While it does seem reasonable, I don't have problems
> creating a thread with floating point numbers, and then calling
> pthread_setfp_np. Have I just been getting lucky?
>
I believe it is correct. If you call pthread_create() from init_module(),
the newly created RTthread starts running _immediately_ and you may be
unsure when the init_module() will be finished. This means, finishing
init_module() depends on when the RTthread gives up CPU.
Regards,
pa
--
..........................................................................
Pavel Andris | tel: +421 7 5941 2167
Institute of Control Theory and Robotics | fax: +421 7 5477 6045
Slovak Academy of Sciences |
Dubravska cesta 9 | e-mail: [EMAIL PROTECTED]
SK - 842 37 Bratislava |
Slovakia |
..........................................................................
"The hardest thing is to take something people don't need and make it part
of their lives."
Sheila Hewett, vice-president for marketing and advertising
..........................................................................
-- [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/