[OpenSER-Devel] add lock in AVP

Di-Shi Sun di-shi at transnexus.com
Tue Oct 30 04:18:56 UTC 2007


Hi Developers,

Is anyone interested in adding a lock in AVP? We found it is necessary to do it in core or avp module instead of in our module. The reason is we cannot destroy the locks in our module. In fact, FAST_LOCK does nothing to destroy a lock. But other lock mechanisms may want to destroy the locks.

We had tested adding FAST_LOCK type locks in our AVPs. It worked fine (no crash, no dead lock, no race condition again) for our test cases.

Thanks,

Di-Shi Sun
VoIP Routing, Accounting, Security
www.TransNexus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20071030/6988e360/attachment-0001.htm 


More information about the Devel mailing list