Hello Daniel,

 

Many thanks for the response. 

Could you please provide me the behind scenes of shm_malloc()?.

It will be very helpful for me to segregate without any flaws.

 

 

Thanks,

Prakash

 

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Daniel-Constantin Mierla
Sent: Tuesday, July 12, 2016 6:34 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] shm_malloc

 

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@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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to