msiexec: Make service thread do nothing by waiting for the kill event instead of using an empty loop.

This commit is contained in:
Dmitry Timoshkov 2013-12-11 17:16:01 +09:00 committed by Alexandre Julliard
parent 0463d01f15
commit 957f7013d2

View file

@ -100,10 +100,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code)
static DWORD WINAPI ServiceExecutionThread(LPVOID param)
{
while (TRUE)
{
/* do nothing */
}
WaitForSingleObject(kill_event, INFINITE);
return 0;
}