]> Kevux Git Server - fll/commitdiff
Update: include rule status when wait all function when waiting.
authorKevin Day <thekevinday@gmail.com>
Sun, 18 Apr 2021 05:21:13 +0000 (00:21 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 18 Apr 2021 05:21:13 +0000 (00:21 -0500)
level_3/controller/c/private-rule.c

index bf92e2de343c7b916a307923789a0f0c1ac7736d..fcf4a997c87d035a250f7f8e4fe47213619bf19a 100644 (file)
@@ -5215,7 +5215,7 @@ extern "C" {
         continue;
       }
 
-      if (process->state == controller_process_state_active || process->state == controller_process_state_busy) {
+      if (process->rule.status == F_known_not || (process->state == controller_process_state_active || process->state == controller_process_state_busy)) {
         f_thread_unlock(&process->lock);
 
         status = controller_process_wait(main, process);