Allow timeout in reset_oom_protection while waiting for SIGUSR1
Review Request #126362 - Created Dec. 15, 2015 and submitted
If for whatever reason the child process does not get SIGUSR1, it should not block an infinite time, but timeout and continue.
Seems to not work correctly yet as I don't hit the timeout condition with the broken kwin_wayland.
I can confirm the change appears correct, though I'd like to try to force it to work myself if we can't get the broken kwin_wayland to trip the bug. One very minor comment but that's your call.
I hacked my kinit.git to not send the SIGUSR1 at all and the patch still allowed kdeinit to exec processes (albeit noticeably slower), so seems to me it should work. No other ill effects noted either.