Ignore:
Timestamp:
Jun 27, 2001, 3:35:47 PM (24 years ago)
Author:
sandervl
Message:

reset FPU before calling entrypoints; search executable in CreateProcess

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/thread.cpp

    r5354 r6129  
    1 /* $Id: thread.cpp,v 1.28 2001-03-22 18:16:41 sandervl Exp $ */
     1/* $Id: thread.cpp,v 1.29 2001-06-27 13:35:46 sandervl Exp $ */
    22
    33/*
     
    132132  Win32DllBase::attachThreadToAllDlls();          //send DLL_THREAD_ATTACH message to all dlls
    133133
    134   //Set default FPU control word (no exceptions); same as in NT
    135   CONTROL87(0x27F, 0xFFF);
     134  //Reset FPU to default values (control word 0x27F; same as in NT)
     135  _fpreset();
    136136  rc = AsmCallThreadHandler(winthread, userdata);
    137137
Note: See TracChangeset for help on using the changeset viewer.