Changeset 21720 for branches/gcc-kmk/src/kernel32/hmthread.cpp
- Timestamp:
- Oct 19, 2011, 11:26:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/gcc-kmk/src/kernel32/hmthread.cpp ¶
r21457 r21720 34 34 #include "oslibmem.h" 35 35 36 #include <win \thread.h>36 #include <win/thread.h> 37 37 #include "thread.h" 38 38 #include "asmutil.h" … … 65 65 HANDLE hThread = pHMHandleData->hHMHandle; 66 66 67 if(lpIDThread == NULL) { 67 if(lpIDThread == NULL) { 68 68 lpIDThread = &threadid; 69 69 } … … 124 124 125 125 *lpIDThread = MAKE_THREADID(O32_GetCurrentProcessId(), *lpIDThread); 126 126 127 127 TEB *teb = GetTEBFromThreadHandle(hThread); 128 128 if(teb) { … … 134 134 135 135 dprintf(("CreateThread created %08x, id %x", pHMHandleData->hHMHandle, *lpIDThread)); 136 136 137 137 return pHMHandleData->hHMHandle; 138 138 } … … 603 603 pHMHandleData->hHMHandle, 604 604 dwTimeout)); 605 605 606 606 //This doesn't work very well in Open32 (object's state never signaled) 607 607 if(threadobj && threadobj->dwState == THREAD_TERMINATED) {
Note:
See TracChangeset
for help on using the changeset viewer.