[SR-Users] shm_malloc

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 12 15:04:09 CEST 2016


Hello,

I don't expect to be very hard to extract the shm management code from
kamailio. It is inside the subfolder mem/ .

Then, there should be some dependecies that you need to get out from the
core, coming in my mind is locking (mutexes). Maybe atomic operations
(not remembering by heart if some counters are kept for memory
management) and few other bits.

It should work without crash, you just need to get it initialized as
kamailio does it in it's main function.

Cheers,
Daniel

On 12/07/16 13:57, Prakash wrote:
>
> Hello,
>
>  
>
> Is it possible to take out shared memory code from kamailio?
>
> if so ,Will it work without any crash?
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160712/bfee474d/attachment.html>


More information about the sr-users mailing list