From 14948ba5739405e7e46a9895a5abd19b974e516f Mon Sep 17 00:00:00 2001 From: nova Date: Mon, 22 Sep 2025 19:20:14 +0200 Subject: [PATCH] fixed wrong condition being send --- main.c | 2 +- threading.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 818ce72..ef2f0a0 100644 --- a/main.c +++ b/main.c @@ -82,7 +82,7 @@ int main(){ if (status & STATUS_RUN_BACKEND) { pthread_cond_signal(&cond_top); pthread_cond_signal(&cond_mid); - pthread_cond_signal(&cond_btm); + pthread_cond_signal(&cond_lft); status &= ~(STATUS_RUN_BACKEND); status |= STATUS_UPDATE_SCREEN_0; threading = 1; diff --git a/threading.c b/threading.c index f629847..bc57770 100644 --- a/threading.c +++ b/threading.c @@ -91,7 +91,7 @@ void *thread_mid(){ } pthread_cond_signal(&cond_rgt); - pthread_cond_signal(&cond_lft); + pthread_cond_signal(&cond_btm); } free(path);