Skip to content

server: Remove limitation for waiting on idle_event of the current process.

test_WaitForInputIdle.tar.bz2

Attached test replicates the problem. Basically the application does

process = OpenProcess(SYNCHRONIZE | PROCESS_QUERY_INFORMATION, FALSE, GetCurrentProcessId()); ret = WaitForInputIdle(process, 0x7fffffff); assert(ret == 0);

With current wine.git WaitForInputIdle() returns WAIT_FAILED because the server call get_process_idle_event() refuses to return idle_event for the current process. If that limitation is removed then wineserver crashes, and other parts of the patch fix the crash.

Merge request reports

Loading