[asterisk-dev] ast_frame allocation/free question

Simon Perreault simon.perreault at viagenie.ca
Fri Nov 30 07:19:43 CST 2007


On Friday 30 November 2007 02:23:10 Klaus Darilion wrote:
> True, but I thought it is a "static" buffer, like:
> static unsigned char aux[sizeof(ast_frame)]; ?

Then you have to ask whether it is possible or not that more than one thread 
uses that buffer at the same time. If not, then it's safe, otherwise, maybe 
not.



More information about the asterisk-dev mailing list