dd4fad93e4
Don't include 'sync ' in the semaphore name because it will end up as a separate argument in the child process, causing it to not find the semaphore. Switch the child to OpenSemaphoreA() to reduce the risk of accidentally create a new semaphore instead of opening the parent's one. Use wait_child_process() instead of a raw WaitForSingleObject(). The timeout is longer but the process is expected to exit immediately anyway and this allows proper handling of child failures (such as if there is a bug with the semaphore handling). Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> |
||
---|---|---|
.. | ||
Makefile.in | ||
actctx.c | ||
atom.c | ||
change.c | ||
codepage.c | ||
comm.c | ||
console.c | ||
debugger.c | ||
directory.c | ||
drive.c | ||
dummy.c | ||
dummy.spec | ||
environ.c | ||
fiber.c | ||
file.c | ||
format_msg.c | ||
generated.c | ||
heap.c | ||
loader.c | ||
locale.c | ||
mailslot.c | ||
module.c | ||
path.c | ||
pipe.c | ||
power.c | ||
process.c | ||
profile.c | ||
resource.c | ||
resource.rc | ||
sync.c | ||
thread.c | ||
time.c | ||
timer.c | ||
toolhelp.c | ||
version.c | ||
virtual.c | ||
volume.c |