Changeset 956 for trunk/src/kernel32/thread.cpp
- Timestamp:
- Sep 16, 1999, 1:39:08 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/thread.cpp
r919 r956 1 /* $Id: thread.cpp,v 1.1 3 1999-09-13 13:16:21 phallerExp $ */1 /* $Id: thread.cpp,v 1.14 1999-09-15 23:38:02 sandervl Exp $ */ 2 2 3 3 /* … … 12 12 #include <os2win.h> 13 13 #include <stdarg.h> 14 #include <string.h> 14 15 #include "thread.h" 15 16 #include "exceptutil.h" 16 17 #include <misc.h> 17 18 #include <wprocess.h> 18 #include <windll .h>19 #include <winexe .h>19 #include <windllbase.h> 20 #include <winexebase.h> 20 21 #include <except.h> 21 22 … … 97 98 hThread)); 98 99 99 /* @@@PH: map os/2 priority model to win32 priority model */100 101 100 return O32_GetThreadPriority(hThread); 102 101 } … … 118 117 priority)); 119 118 120 /* @@@PH: map win32 priority model to os/2 priority model */121 122 119 return O32_SetThreadPriority(hThread, priority); 123 120 } … … 147 144 exitcode)); 148 145 149 Win32Dll ::detachThreadFromAllDlls(); //send DLL_THREAD_DETACH message to all dlls150 Win32Dll ::tlsDetachThreadFromAllDlls(); //destroy TLS structures of all dlls146 Win32DllBase::detachThreadFromAllDlls(); //send DLL_THREAD_DETACH message to all dlls 147 Win32DllBase::tlsDetachThreadFromAllDlls(); //destroy TLS structures of all dlls 151 148 WinExe->tlsDetachThread(); //destroy TLS structure of main exe 152 149 DestroyTIB(); … … 200 197 SetWin32TIB(); 201 198 WinExe->tlsAttachThread(); //setup TLS structure of main exe 202 Win32Dll ::tlsAttachThreadToAllDlls(); //setup TLS structures of all dlls203 Win32Dll ::attachThreadToAllDlls(); //send DLL_THREAD_ATTACH message to all dlls199 Win32DllBase::tlsAttachThreadToAllDlls(); //setup TLS structures of all dlls 200 Win32DllBase::attachThreadToAllDlls(); //send DLL_THREAD_ATTACH message to all dlls 204 201 205 202 //Note: The Win32 exception structure references by FS:[0] is the same … … 209 206 OS2UnsetExceptionHandler((void *)&exceptFrame); 210 207 211 Win32Dll ::detachThreadFromAllDlls(); //send DLL_THREAD_DETACH message to all dlls212 Win32Dll ::tlsDetachThreadFromAllDlls(); //destroy TLS structures of all dlls208 Win32DllBase::detachThreadFromAllDlls(); //send DLL_THREAD_DETACH message to all dlls 209 Win32DllBase::tlsDetachThreadFromAllDlls(); //destroy TLS structures of all dlls 213 210 WinExe->tlsDetachThread(); //destroy TLS structure of main exe 214 211 DestroyTIB();
Note:
See TracChangeset
for help on using the changeset viewer.