- Timestamp:
- Feb 26, 2002, 12:11:17 PM (23 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/debug.cpp
r5481 r8015 1 /* $Id: debug.cpp,v 1. 6 2001-04-05 05:54:51sandervl Exp $ */1 /* $Id: debug.cpp,v 1.7 2002-02-26 11:11:17 sandervl Exp $ */ 2 2 3 3 /* … … 17 17 #include <unicode.h> 18 18 #include "oslibdebug.h" 19 #include <wprocess.h> 19 20 20 21 #define DBG_LOCALLOG DBG_debug … … 73 74 dwProcessId, dwThreadId, dwContinueStatus)); 74 75 75 return OSLibContinueDebugEvent(dwProcessId, dwThreadId, dwContinueStatus);76 return OSLibContinueDebugEvent(dwProcessId, ODIN_TO_OS2_THREADID(dwThreadId), dwContinueStatus); 76 77 } 77 78 //****************************************************************************** -
trunk/src/kernel32/hmthread.cpp
r7532 r8015 1 /* $Id: hmthread.cpp,v 1. 9 2001-12-03 12:13:08sandervl Exp $ */1 /* $Id: hmthread.cpp,v 1.10 2002-02-26 11:11:17 sandervl Exp $ */ 2 2 3 3 /* … … 124 124 return THREAD_PRIORITY_ERROR_RETURN; 125 125 } 126 DWORD ret = OSLibDosSetPriority( teb->o.odin.threadId, priority);126 DWORD ret = OSLibDosSetPriority(ODIN_TO_OS2_THREADID(teb->o.odin.threadId), priority); 127 127 if(ret == ERROR_SUCCESS) { 128 128 teb->delta_priority = priority; -
trunk/src/kernel32/thread.cpp
r7828 r8015 1 /* $Id: thread.cpp,v 1.4 2 2002-02-07 11:19:13sandervl Exp $ */1 /* $Id: thread.cpp,v 1.43 2002-02-26 11:11:17 sandervl Exp $ */ 2 2 3 3 /* … … 54 54 55 55 //// dprintf(("GetCurrentThreadId\n")); 56 return (O32_GetCurrentThreadId());56 return MAKE_THREADID(O32_GetCurrentProcessId(), O32_GetCurrentThreadId()); 57 57 } 58 58 //****************************************************************************** -
trunk/src/kernel32/wprocess.cpp
r7961 r8015 1 /* $Id: wprocess.cpp,v 1.14 8 2002-02-19 12:51:53sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.149 2002-02-26 11:11:17 sandervl Exp $ */ 2 2 3 3 /* … … 1866 1866 free(cmdline); 1867 1867 1868 if(lpProcessInfo) 1869 dprintf(("KERNEL32: CreateProcess returned %d hPro:%x hThr:%x pid:%x tid:%x\n", 1870 rc, lpProcessInfo->hProcess, lpProcessInfo->hThread, 1871 lpProcessInfo->dwProcessId,lpProcessInfo->dwThreadId)); 1868 if(lpProcessInfo) 1869 { 1870 lpProcessInfo->dwThreadId = MAKE_THREADID(lpProcessInfo->dwProcessId, lpProcessInfo->dwThreadId); 1871 dprintf(("KERNEL32: CreateProcess returned %d hPro:%x hThr:%x pid:%x tid:%x\n", 1872 rc, lpProcessInfo->hProcess, lpProcessInfo->hThread, 1873 lpProcessInfo->dwProcessId,lpProcessInfo->dwThreadId)); 1874 } 1872 1875 else 1873 1876 dprintf(("KERNEL32: CreateProcess returned %d\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.