1
0
mirror of https://gittea.dev/nova/th.git synced 2025-10-21 10:20:15 -04:00

fixed wrong condition being send

This commit is contained in:
nova
2025-09-22 19:20:14 +02:00
parent e0a5871bc2
commit 14948ba573
2 changed files with 2 additions and 2 deletions

2
main.c
View File

@@ -82,7 +82,7 @@ int main(){
if (status & STATUS_RUN_BACKEND) { if (status & STATUS_RUN_BACKEND) {
pthread_cond_signal(&cond_top); pthread_cond_signal(&cond_top);
pthread_cond_signal(&cond_mid); pthread_cond_signal(&cond_mid);
pthread_cond_signal(&cond_btm); pthread_cond_signal(&cond_lft);
status &= ~(STATUS_RUN_BACKEND); status &= ~(STATUS_RUN_BACKEND);
status |= STATUS_UPDATE_SCREEN_0; status |= STATUS_UPDATE_SCREEN_0;
threading = 1; threading = 1;

View File

@@ -91,7 +91,7 @@ void *thread_mid(){
} }
pthread_cond_signal(&cond_rgt); pthread_cond_signal(&cond_rgt);
pthread_cond_signal(&cond_lft); pthread_cond_signal(&cond_btm);
} }
free(path); free(path);