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