On 08.10.2011 14:53, Austin Einter wrote:
Hi
Just a quick question. How memory is allocated in Kamailio code.
Few places I saw pkg_malloc function.
Is it the only function used to allocate memory or there are similar
functions present in kamailio.
Basically there are 2 concepts: private memory (per process) and shared
memory (shm, for all processes).
For example tm uses shared memory to store the transcations in memory.
So I suspect there will be similar functions for shared memory allocation.
regards
Klaus