Changeset 1628 for trunk/src/kernel32/thread.cpp
- Timestamp:
- Nov 8, 1999, 2:43:13 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/thread.cpp
r1310 r1628 1 /* $Id: thread.cpp,v 1.1 6 1999-10-15 11:36:13 phallerExp $ */1 /* $Id: thread.cpp,v 1.17 1999-11-08 13:43:13 sandervl Exp $ */ 2 2 3 3 /* … … 214 214 thdb->entry_arg = (void *)userdata; 215 215 216 //Note: The Win32 exception structure referenced by FS:[0] is the same 217 // in OS/2 218 OS2SetExceptionHandler((void *)&exceptFrame); 219 216 220 SetWin32TIB(); 217 221 WinExe->tlsAttachThread(); //setup TLS structure of main exe … … 219 223 Win32DllBase::attachThreadToAllDlls(); //send DLL_THREAD_ATTACH message to all dlls 220 224 221 //Note: The Win32 exception structure references by FS:[0] is the same222 // in OS/2223 OS2SetExceptionHandler((void *)&exceptFrame);224 225 rc = winthread(userdata); 225 OS2UnsetExceptionHandler((void *)&exceptFrame);226 226 227 227 Win32DllBase::detachThreadFromAllDlls(); //send DLL_THREAD_DETACH message to all dlls … … 229 229 WinExe->tlsDetachThread(); //destroy TLS structure of main exe 230 230 DestroyTIB(); 231 OS2UnsetExceptionHandler((void *)&exceptFrame); 232 231 233 return rc; 232 234 }
Note:
See TracChangeset
for help on using the changeset viewer.