[OpenSER-Devel] need advice for avp lock

Di-Shi Sun di-shi at transnexus.com
Thu Oct 18 09:07:53 CEST 2007


All,

We met a race condition for accessing avp values. We use avps to store some info. Both 180 and 200 messages may trigger a logic to access the avp values. Sometimes they arrive at almost the same time. Would anyone please give us some advice on what lock mechanism we should use for it?

Thanks,

Di-Shi Sun
VoIP Routing, Accounting, Security
www.TransNexus.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20071018/187a2fd8/attachment.htm


More information about the Devel mailing list