pjsip freeze problem

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

 



> 
> There are few things to watch for:
> - make sure the pool (from which the timer entry is allocated from)
> remains valid until the timer expires
> - make sure the timer is not currently being scheduled before you
> re-schedule it (you can use timer.id field for this purpose).
> - although timer heap object is thread safe, access to your timer
> entry is not (e.g., registration callback may be called while you're
> processing a timer callback). So make sure your application protects
> access to the timer entry where required.
> 

First 2 points were my problem.
Thanks a lot for the help.

-Anshuman



[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