Hi Joseph,
On Thu, Oct 26, 2000 at 07:06:08PM +0200, Joseph Canou wrote:
> hello
> I write a rt module for datas acquisition
> this module works fine and when I leave my program and run the rmmod
> there is no problem
> now i would like to use floating point in order to process datas
> for the moment I only add the pthread_setfp_np function in the
> init_module
> my program works fine too, but when I leave it and run the rmmod, my pc
> does not reboot or freeze but occurs a segmentation fault and i can not
> rmmod my module and rt_time
> i use rtl2.3
> can you explain me what i must do if you know this problem
> thank you for your help
>
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
--
..........................................................................
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 |
.........................................................................
-- [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/