Question about stream.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux