ExtAudioFileDispose blocking
ExtAudioFileDispose blocking
- Subject: ExtAudioFileDispose blocking
- From: Ethan Funk <email@hidden>
- Date: Sat, 20 Mar 2010 09:46:07 -0700
I have another mystery to unravel:
ExtAudioFileDispose appears to be blocking indefinitely after my code runs for a few hours, loading, playing and unloading files. My application is multi-threaded, and the ExtAudioFileDispose call is being made from a pthread, not the main thread. In getting to the blocked call, the thread does lock a few other mutexs which are causing other threads in my application to block, but none of the other blocked threads are involved with the Extended audio file API. Since I do not have any source code for the API, I will need a bit of help to understand what is happening here, and what the API is blocked on.
The backtrace from the blocked thread looks like this:
0 __semwait_signal
1 _pthread_cond_wait
2 AudioFileLocker::WillDie
3 AudioFileClose
4 ExtAudioFile::Close
5 ExtAudioFile::~ExtAudioFile
6 ExtAudioFile::~XExtAudioFile
7 ExtAudioFileDispose
8 FilePlayer::~FilePlayer ------ My Code from here on down----
9 DeleteFromLists
10 CheckListsForDeletion
11 ListManagerTask
12 _pthread_start
13 thread_start
Thanks,
Ethan... _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden