Changeset 21916 for trunk/src/kernel32/hmthread.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/kernel32/hmthread.cpp
r21457 r21916 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.