[sr-dev] [kamailio/kamailio] pv: adding xavp_copy (#2070)

Julien Chavanton notifications at github.com
Tue Oct 1 01:48:04 CEST 2019


I am assuming access to XAVP is synchronized as part of the transaction.

Even if this maybe off topic I am just making sure this assumption is safe.
I am looking at the TM module to make sure I understand how the multi replies are synchronized.
I can see in the TM module that the post callback is "releasing the transaction" by decrement the ref_count 
```
register_script_cb( w_t_unref, POST_SCRIPT_CB|REQUEST_CB, 0)<0 )
```
I do not yet found the check to lock / delay parallel execution of replies.
```
register_script_cb( script_init, PRE_SCRIPT_CB|REQUEST_CB , 0)
```

I am need a bit more time to make sure everything is safe.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2070#issuecomment-536797615
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190930/a640dadc/attachment.html>


More information about the sr-dev mailing list