Skip to content
Snippets Groups Projects
Commit 7c9ac0c0 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3218] we must lock the glib mainloop using the gdk_thread_enter/leave

	in main and in each threads
parent b334d8e8
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,8 @@ void *threaded_clock_incrementer(void *pc) {
int duration;
time_t start, current;
gdk_threads_enter ();
set_timestamp(&(call->_time_current));
start = call->_time_start;
......@@ -171,6 +173,8 @@ void *threaded_clock_incrementer(void *pc) {
calltree_update_clock();
gdk_threads_leave ();
sleep(1);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment