Ignore:
Timestamp:
Nov 8, 1999, 2:43:13 PM (26 years ago)
Author:
sandervl
Message:

thread, SearchPath + handlemanager fixes

File:
1 edited

Legend:

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

    r1310 r1628  
    1 /* $Id: thread.cpp,v 1.16 1999-10-15 11:36:13 phaller Exp $ */
     1/* $Id: thread.cpp,v 1.17 1999-11-08 13:43:13 sandervl Exp $ */
    22
    33/*
     
    214214  thdb->entry_arg   = (void *)userdata;
    215215
     216  //Note: The Win32 exception structure referenced by FS:[0] is the same
     217  //      in OS/2
     218  OS2SetExceptionHandler((void *)&exceptFrame);
     219
    216220  SetWin32TIB();
    217221  WinExe->tlsAttachThread();              //setup TLS structure of main exe
     
    219223  Win32DllBase::attachThreadToAllDlls();          //send DLL_THREAD_ATTACH message to all dlls
    220224
    221   //Note: The Win32 exception structure references by FS:[0] is the same
    222   //      in OS/2
    223   OS2SetExceptionHandler((void *)&exceptFrame);
    224225  rc = winthread(userdata);
    225   OS2UnsetExceptionHandler((void *)&exceptFrame);
    226226
    227227  Win32DllBase::detachThreadFromAllDlls();  //send DLL_THREAD_DETACH message to all dlls
     
    229229  WinExe->tlsDetachThread();              //destroy TLS structure of main exe
    230230  DestroyTIB();
     231  OS2UnsetExceptionHandler((void *)&exceptFrame);
     232
    231233  return rc;
    232234}
Note: See TracChangeset for help on using the changeset viewer.