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:
2
main.c
2
main.c
@@ -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;
|
||||||
|
@@ -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);
|
||||||
|
Reference in New Issue
Block a user