[PATCH] ntdll: The FPU control word for newly created threads is 0x27f.

Alexandre Julliard julliard at winehq.org
Wed Jun 16 12:54:48 CDT 2010


Henri Verbeet <hverbeet at gmail.com> writes:

> On 16 June 2010 19:36, Alexandre Julliard <julliard at winehq.org> wrote:
>> This should be done inside signal_init_thread(), that's already meant
>> for platform-specific setup, there's no need to add a separate entry
>> point.
> That was the original plan, but signal_init_thread() is also called by
> thread_init().

You have to handle that anyway. If you add a generic init_thread_fpu()
entry point it has to be called for all threads too, otherwise it's not
really generic. The initial thread can be detected for instance by
checking if the process heap exists.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list