(no idea why my client sent this to wine-patches)
On 10/10/13 15:23, Andrew Cook wrote:
dlls/kernel32/tests/process.c | 159 +++++++++++++++++++++++++++++++++++++++++- include/winbase.h | 1 + include/winnt.h | 90 ++++++++++++++++++++++++ 3 files changed, 249 insertions(+), 1 deletion(-)
there appears to be a window between the all processes leaving a job and the job actually being considered empty, and no apparent way to wait for this. I can't reproduce this locally either.
Is there an accepted way to wait for some inaccessible kernel-side event? reordering some calls would likely hide the issue but i'd rather avoid that.
https://newtestbot.winehq.org/JobDetails.pl?Key=2687 failure on w8 https://newtestbot.winehq.org/JobDetails.pl?Key=2709 failure on w864 https://newtestbot.winehq.org/JobDetails.pl?Key=2685 same patch, success on w864