[sr-dev] [kamailio/kamailio] p_usrloc: new parameter "mdb_availability_control" has been created. (#1529)
hdikme
notifications at github.com
Wed May 23 10:05:17 CEST 2018
hdikme commented on this pull request.
> @@ -102,13 +102,16 @@ int ul_db_child_init(void) {
if(ul_db_child_locnr_init() == -1) return -1;
LM_INFO("location number is %d\n", max_loc_nr);
- if(db_master_write){
+ lock_get(&write_on_master_db_shared->lock);
p_usrloc_mod.c:
The fork() system call is triggered in the init_db_check() function, which takes place just before calling the ul_db_child_init() function where the above mentioned lock checking mechanism is used.
--
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/1529#discussion_r190155738
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180523/76439124/attachment.html>
More information about the sr-dev
mailing list