[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Thread safety problem with Speex process and p
Re: [Linphone-developers] Thread safety problem with Speex process and preprocess routines
Thu, 14 Apr 2011 10:12:05 -0600
At 04:14 PM 4/13/2011, Steve wrote:
[snip] The most straightforward and robust solution seems to me to
make the preprocess and process routines (and probably the
postprocess too) all acquire the same mutex. [snip] Could one of
them be added to an existing data structure that is already specific
to each RTP session?
I should have used grep before posting the above; I didn't realize
that mediastreamer was already using mutexes in so many places. I
guess my task now is to find which (probably existing) mutex is
intended to protect whichever data is causing my problem and make
sure that it is locked during the critical section. Any hints where
to start looking?
Link Communications, Inc.
1035 Cerise Rd
Billings, MT 59101-7378
(406) 245-5002 ext 102
(406) 245-4889 (fax)