From 3b3bc070f802491e98f87d9191e7d33fec78dd5a Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 19 Oct 2024 21:32:04 +0300 Subject: : perhaps fixed race conditions and problems when creating and terminating process groups on Win32 * Sometimes already the job assignment failed in CI builds. We now check whether the process is still alive before throwing an error. * We now set the JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE flag. This theoretically shouldn't be necessary when using TerminateJobObject(), but who knows. --- TODO | 1 + 1 file changed, 1 insertion(+) (limited to 'TODO') diff --git a/TODO b/TODO index d4fd137..e9bf2ac 100644 --- a/TODO +++ b/TODO @@ -20,6 +20,7 @@ Known Bugs: Could this be a race condition when adding the process to the job object? Perhaps the child process should be created suspended before being added to the job object. Glib does not currently allow that. + This could already be fixed. * dlmalloc's malloc_trim() does not seem to free any resident memory after hitting the OOM limit, eg. after <%a>. Apparently an effect of HAVE_MORECORE (sbrk()) - some allocation is -- cgit v1.2.3