by MirekCz » Dec 3, 2001 @ 10:58am
ello,<br>I have got a thread created like this:<br>SoftwareThreadHandle=CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)SoftwareThread,hWnd,0,&SoftwareThreadId);<br>it's a nice thread and it closes under win2k without a problem using this:<br>TerminateThread(SoftwareThreadHandle,0);<br>but once I run PPC emu and use it with my GAPI routines Terminating a thread doesn't help.... unless I change its priority to Abovenormal with this:<br>SetThreadPriority(SoftwareThreadHandle,THREAD_PRIORITY_ABOVE_NORMAL);<br>why is it so??? how to get around it? Do I have to use ExitThread from the threadloop? (it's an infinite loop updating graphics as needed and getting ExitThread somewhere between that doesn't seem like a good idea to me:)<br>Can anyone help my little Mr.thread a bit?:)<br>thnx for all help!<br>
With best regards,
Mirek Czerwinski