From: Kevin Day Date: Sun, 4 Apr 2021 17:08:53 +0000 (-0500) Subject: Bugfix: asynchronous processing is not working in controller program. X-Git-Tag: 0.5.3~77 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d4070280aca546c72d00ebccd0e6d4a0f91df141;p=fll 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. --- 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);