diff options
author | Björn Gustavsson <[email protected]> | 2010-08-17 11:22:08 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-08-17 11:22:08 +0200 |
commit | 0f4b1294f51983f834dbca750b3ad271d72f740a (patch) | |
tree | 60229fa98c9b759978ecc254822a2473ecea595e /EPLICENCE | |
parent | 871fdb232d7facc58c202ef81634a12fbdcfefb4 (diff) | |
download | otp-0f4b1294f51983f834dbca750b3ad271d72f740a.tar.gz otp-0f4b1294f51983f834dbca750b3ad271d72f740a.tar.bz2 otp-0f4b1294f51983f834dbca750b3ad271d72f740a.zip |
Solaris/x86: Handle floating point exceptions properly in driver threads
On Solaris/x86, the floating point exceptions bits seems to
be propagated to child threads, so if scheduler threads
use floating points exceptions, also driver threads will
have floating points exception enabled.
The problem is that erts_thread_init_float() has not been
called for driver threads, and because of that matherr()
will crash when called.
Fix matherr() so that it will work even if erts_thread_init_float()
has not been called.
This fix was suggested by Mikael Pettersson.
Diffstat (limited to 'EPLICENCE')
0 files changed, 0 insertions, 0 deletions