[RUNTIME] Ensure that we initialize the cpu for every thread [Bug #650439]
commit72156a2da97a11ea412751a3117fbd72c9bd5146
authorGeoff Norton <grompf@sublimeintervention.com>
Thu, 4 Nov 2010 15:28:30 +0000 (4 11:28 -0400)
committerGeoff Norton <grompf@sublimeintervention.com>
Thu, 4 Nov 2010 15:30:07 +0000 (4 11:30 -0400)
treedd0625d2e7bdea7af49993d417cc79c24a2e2cba
parent2615d87274518605ce34479123346c3fec0250e0
[RUNTIME] Ensure that we initialize the cpu for every thread [Bug #650439]

It appears that on OSX the FPU settings on x86/amd64 are not inherited
to child threads of a process, leading to differences in precision between
the main thread and the sub thread.  We now call mono_arch_cpu_init
on every thread on every platform
mono/mini/mini-ppc.c
mono/mini/mini.c