[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] ast_frame allocation/free question
From:       Simon Perreault <simon.perreault () viagenie ! ca>
Date:       2007-11-30 13:19:43
Message-ID: 200711300819.43746.simon.perreault () viagenie ! ca
[Download RAW message or body]

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.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic