Floating point exceptions with -pthread

Daniel Eischen deischen at freebsd.org
Tue May 3 06:54:31 PDT 2005

On Tue, 3 May 2005, Marc Olzheim wrote:

> Hi.
> I was wondering whether it was safe to use floating point calculations /
> libm functions with 5.4-STABLE's pthread library on HT+SMP. I keep
> getting floating point exceptions on places where they should not
> happen... :-(

Yes, it should work fine.  If you can verify the problem exists
(or doesn't) on -current, that might help.  It sounds like FPU
context isn't getting saved/restored correctly in the kernel.


More information about the freebsd-threads mailing list