Changeset 3142 for trunk/src/kernel32/hmthread.cpp
- Timestamp:
- Mar 17, 2000, 5:28:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmthread.cpp
r3140 r3142 1 /* $Id: hmthread.cpp,v 1. 2 2000-03-17 16:08:40sandervl Exp $ */1 /* $Id: hmthread.cpp,v 1.3 2000-03-17 16:28:59 sandervl Exp $ */ 2 2 3 3 /* … … 52 52 // handle of thread 0 53 53 if(fFirstThread) { 54 return O32_GetCurrentThread(); //return Open32 handle of thread 0 54 pHMHandleData->hHMHandle = O32_GetCurrentThread(); //return Open32 handle of thread 55 return pHMHandleData->hHMHandle; 55 56 } 56 57 winthread = new Win32Thread(lpStartAddr, lpvThreadParm, fdwCreate, pHMHandleData->hHMHandle); … … 67 68 #endif 68 69 69 return(O32_CreateThread(lpsa, 70 cbStack, 71 winthread->GetOS2Callback(), 72 (LPVOID)winthread, 73 fdwCreate, 74 lpIDThread)); 70 pHMHandleData->hHMHandle = O32_CreateThread(lpsa, 71 cbStack, 72 winthread->GetOS2Callback(), 73 (LPVOID)winthread, 74 fdwCreate, 75 lpIDThread); 76 return pHMHandleData->hHMHandle; 75 77 } 76 78 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.