mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
fix pa_thread_is_running() for foreign threads; fix a memory leak for foreign threads
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1370 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
813e95f3b8
commit
3be920d9ae
2 changed files with 27 additions and 1 deletions
|
|
@ -87,6 +87,8 @@ int main(int argc, char *argv[]) {
|
|||
int i, k;
|
||||
pa_thread* t[THREADS_MAX];
|
||||
|
||||
assert(pa_thread_is_running(pa_thread_self()));
|
||||
|
||||
mutex = pa_mutex_new(0);
|
||||
cond1 = pa_cond_new();
|
||||
cond2 = pa_cond_new();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue