[OpenSIPS-Users] [NEW] OpenSIPS script locks

Brett Nemeroff brett at nemeroff.com
Wed Nov 28 17:55:16 CET 2012


Liviu,
This is a good idea. What happens to the child process as it's waiting for
a lock to be released? Are there any protections against locks lasting
indefinitely?

Thanks,
Brett


On Wed, Nov 28, 2012 at 9:02 AM, Liviu Chircu <liviu at opensips.org> wrote:

>
> The cfgutils module now provides the possibility of defining atomic
> test-and-set operations in the OpenSIPS script.
> Such need is a result of complex mixing in script of various
> functionality / functions from different modules. Like testing
> is done based on ratelimit module and the setting is done in
> dialog module.
>
> Modules do provide internal locking and synchronization for their
> own functionalities, but cannot cover a more complex and various
> scenarios of test-and-set scripting scenarios.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121128/3c83770b/attachment-0001.htm>


More information about the Users mailing list