minor thread debugging issue: move printf before the SetEvent (in Win32ThreadSupport)
This commit is contained in:
@@ -69,8 +69,8 @@ DWORD WINAPI Thread_no_1( LPVOID lpParam )
|
|||||||
{
|
{
|
||||||
//exit Thread
|
//exit Thread
|
||||||
status->m_status = 3;
|
status->m_status = 3;
|
||||||
SetEvent(status->m_eventCompletetHandle);
|
|
||||||
printf("Thread with taskId %i with handle %p exiting\n",status->m_taskId, status->m_threadHandle);
|
printf("Thread with taskId %i with handle %p exiting\n",status->m_taskId, status->m_threadHandle);
|
||||||
|
SetEvent(status->m_eventCompletetHandle);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user