Changeset 21916 for trunk/src/kernel32/thread.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/thread.cpp
r21626 r21916 26 26 #include <cpuhlp.h> 27 27 #include <wprocess.h> 28 #include <windllbase.h>29 #include <winexebase.h>28 #include "windllbase.h" 29 #include "winexebase.h" 30 30 #include "exceptutil.h" 31 31 #include "oslibmisc.h" … … 61 61 //****************************************************************************** 62 62 //****************************************************************************** 63 extern "C" 63 64 HANDLE WIN32API CreateThread(LPSECURITY_ATTRIBUTES lpsa, 64 65 DWORD cbStack, … … 115 116 return pHandle->hmHandleData.hWin32Handle; 116 117 } 118 119 extern "C" { 120 117 121 /***************************************************************************** 118 122 * Name : HMGetThreadPriority … … 370 374 return (lpResult); /* deliver return code */ 371 375 } 376 377 } // extern "C" 378 372 379 /***************************************************************************** 373 380 * Name : HMSetThreadTerminated … … 397 404 return (lpResult); /* deliver return code */ 398 405 } 406 407 extern "C" { 408 399 409 //****************************************************************************** 400 410 //****************************************************************************** … … 459 469 #define MAX_CALLSTACK_SIZE 128 460 470 #ifdef DEBUG 461 static c har *pszLastCaller = NULL;471 static const char *pszLastCaller = NULL; 462 472 #endif 463 473 //****************************************************************************** 464 void WIN32API dbg_ThreadPushCall(c har *pszCaller)474 void WIN32API dbg_ThreadPushCall(const char *pszCaller) 465 475 { 466 476 #ifdef DEBUG … … 654 664 return FALSE; 655 665 } 666 667 } // extern "C" 668 656 669 //****************************************************************************** 657 670 //****************************************************************************** … … 670 683 //****************************************************************************** 671 684 //****************************************************************************** 672 DWORD OPEN32API Win32Thread Proc(LPVOID lpData)685 DWORD OPEN32API Win32Thread::Win32ThreadProc(LPVOID lpData) 673 686 { 674 687 EXCEPTION_FRAME exceptFrame;
Note:
See TracChangeset
for help on using the changeset viewer.