From 9c0d54344ca4bc5d9e87a73427103efbb0a16d62 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 18 Apr 2021 00:21:13 -0500 Subject: [PATCH] Update: include rule status when wait all function when waiting. --- level_3/controller/c/private-rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/controller/c/private-rule.c b/level_3/controller/c/private-rule.c index bf92e2d..fcf4a99 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -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); -- 1.8.3.1