projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dfd1c1
)
fixed possible deadlock with multiple thumb loaders in parallel
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 15 Mar 2009 09:06:13 +0000
(09:06 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 15 Mar 2009 09:06:13 +0000
(09:06 +0000)
src/image-load.c
patch
|
blob
|
history
diff --git
a/src/image-load.c
b/src/image-load.c
index
c81c0aa
..
b62b4cd
100644
(file)
--- a/
src/image-load.c
+++ b/
src/image-load.c
@@
-786,7
+786,7
@@
static void image_loader_thread_leave_high(void)
{
g_mutex_lock(image_loader_prio_mutex);
image_loader_prio_num--;
- if (image_loader_prio_num == 0) g_cond_
signal(image_loader_prio_cond);
+ if (image_loader_prio_num == 0) g_cond_
broadcast(image_loader_prio_cond); /* wake up all low prio threads */
g_mutex_unlock(image_loader_prio_mutex);
}