projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76efa9
)
protect memimpors with a recursive mutex to avoid deadlock when shutting down
author
Lennart Poettering
<lennart@poettering.net>
Thu, 9 Aug 2007 21:17:32 +0000
(21:17 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 9 Aug 2007 21:17:32 +0000
(21:17 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1604
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/memblock.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/memblock.c
b/src/pulsecore/memblock.c
index
f3e400e
..
f0e2b4c
100644
(file)
--- a/
src/pulsecore/memblock.c
+++ b/
src/pulsecore/memblock.c
@@
-743,7
+743,7
@@
pa_memimport* pa_memimport_new(pa_mempool *p, pa_memimport_release_cb_t cb, void
pa_assert(cb);
i = pa_xnew(pa_memimport, 1);
- i->mutex = pa_mutex_new(
0
);
+ i->mutex = pa_mutex_new(
1
);
i->pool = p;
i->segments = pa_hashmap_new(NULL, NULL);
i->blocks = pa_hashmap_new(NULL, NULL);