mirror of
https://gittea.dev/nova/th.git
synced 2025-10-21 10:20:15 -04:00
adding forgotten mutex unlocks
This commit is contained in:
@@ -387,7 +387,9 @@ void rename_hovered(){
|
||||
mvwin(win_b, terminal_height-6, 0);
|
||||
wresize(win_b, 5, terminal_width/3); /*the div3 just looks cool*/
|
||||
|
||||
pthread_mutex_unlock(&mutex_btm);
|
||||
render_pass();
|
||||
pthread_mutex_lock(&mutex_btm);
|
||||
|
||||
unsigned long local_height;
|
||||
local_height = getmaxy(win_b);
|
||||
@@ -409,6 +411,7 @@ void rename_hovered(){
|
||||
};
|
||||
btm_buffer = cmd;
|
||||
}
|
||||
pthread_mutex_unlock(&mutex_btm);
|
||||
|
||||
status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK | STATUS_RELOAD_DIRECTORY | STATUS_UPDATE_SCREEN_RELOAD_FULL);
|
||||
|
||||
@@ -549,6 +552,7 @@ void makefile(){
|
||||
fclose(fp);
|
||||
}
|
||||
free(str);
|
||||
pthread_mutex_unlock(&mutex_btm);
|
||||
status |= (STATUS_RUN_BACKEND | STATUS_UPDATE_SCREEN_MASK | STATUS_RELOAD_DIRECTORY | STATUS_UPDATE_SCREEN_RELOAD_FULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user