[Asterisk-Dev] How to allocate memory in an application

Roger Schreiter roger at planinternet.de
Tue Oct 25 17:37:10 MST 2005


Hi,

what is the best way to allocate some k of memory for an
application?

- globally

- per channel

I tried to study the behaviour of variables in static functions
and global static variables, but I did't understand, what the
forking does maybe clone or not?

Thanks for any hints!


Roger.




More information about the asterisk-dev mailing list