[pjsip] Question about stream.c

Benny Prijono bennylp at pjsip.org
Thu Feb 14 15:24:53 EST 2008


On 2/14/08, Michael Broughton <Michael_Broughton at advanis.ca> wrote:
>  > But soft deadlocking is very expensive in term of processing, as
>  > everything that tries to lock PJSUA-LIB will be blocked while
>  > PJSUA-LIB tries to acquire (and finally gives up) the locks. This
>  > would block the application for at least 1 second for the best case, I
>  > think.
>
> What if acquire_call monitored a flag that indicates when the transport
>  trying to shutdown? My own solution to ticket 460 sort-of worked that way.
>

Sorry I don't get that, could you elaborate more?

One thing for sure, if you maintain (m)any modifications in your local
copy, you'll have a lot of pains for a long time. :) So lets try to
find something that works for both of us.

>  I'm not sure if there is a clean way to implement this...
>

Yep.

cheers,
 -benny




More information about the pjsip mailing list