From d4070280aca546c72d00ebccd0e6d4a0f91df141 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 4 Apr 2021 12:08:53 -0500 Subject: [PATCH] Bugfix: asynchronous processing is not working in controller program. This is because I accidentally passed a pointer of a pointer instead of the pointer itself. --- 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 4a0e1b2..97183d1 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -2085,7 +2085,7 @@ extern "C" { if (F_status_is_error_not(status)) { if (asynchronous) { - status = f_thread_create(0, &process->id_thread, controller_thread_process, (void *) &process); + status = f_thread_create(0, &process->id_thread, controller_thread_process, (void *) process); if (F_status_is_error(status)) { controller_entry_error_print(main.data->error, cache.action, F_status_set_fine(status), "f_thread_create", F_true, main.thread); -- 1.8.3.1