[sr-dev] Fwd: Sharing static variables in external library across child proceses

User 721 anewcsharpprogrammer at gmail.com
Tue Jun 5 10:07:33 CEST 2018


Hi,

I am adding a kamailio module that references an external C library that
maintains a hashtable in global scope. I am wondering what practice I
should follow so that:
- This hashtable (which I don't control directly) is shared by all child
processes
- The hashtable is changed by one child process at a time

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180605/67532ad4/attachment.html>


More information about the sr-dev mailing list