basic mingw support for simulator: kernel and finsh

This commit is contained in:
prife
2013-02-26 16:03:08 +08:00
parent 278cc914b3
commit 9ccdf4172e
7 changed files with 297 additions and 10 deletions
+2
View File
@@ -111,6 +111,7 @@ static DWORD WINAPI ThreadforKeyGet(LPVOID lpParam);
static void SetThreadName(DWORD dwThreadID, char* threadName)
{
#if defined(_MSC_VER)
THREADNAME_INFO info;
info.dwType = 0x1000;
info.szName = threadName;
@@ -124,6 +125,7 @@ static void SetThreadName(DWORD dwThreadID, char* threadName)
__except(EXCEPTION_EXECUTE_HANDLER)
{
}
#endif
}
/*