[SR-Users] shm_malloc

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 13 08:42:50 CEST 2016


Hello,

Can you be more explicit about what do you expect?

Daniel


On 13/07/16 07:27, Prakash wrote:
>
> 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-bounces at 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 at lists.sip-router.org <mailto: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://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda

-- 
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/20160713/57ed725c/attachment.html>


More information about the sr-users mailing list