From 03053049e655d17f28e37d0fd30f5422eb5fb86e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Tue, 29 Mar 2022 20:08:02 -0500 Subject: [PATCH] Regression: Use correct function for mutex lock. The lock is a mutex lock and not a lock. --- level_3/controller/c/lock/private-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/controller/c/lock/private-lock.c b/level_3/controller/c/lock/private-lock.c index 3f9489a..ee3c08f 100644 --- a/level_3/controller/c/lock/private-lock.c +++ b/level_3/controller/c/lock/private-lock.c @@ -23,7 +23,7 @@ extern "C" { status = f_thread_lock_create(0, &lock->rule); if (F_status_is_error(status)) return status; - status = f_thread_lock_create(0, &lock->alert); + status = f_thread_mutex_create(0, &lock->alert); if (F_status_is_error(status)) return status; status = f_thread_condition_create(0, &lock->alert_condition); -- 1.8.3.1