[Asterisk-Dev] timeval stuff

Kevin P. Fleming kpfleming at digium.com
Thu Jun 9 09:01:44 MST 2005


Tilghman Lesher wrote:

> Well, the only problem with passing struct pointers around is that you
> need to preallocate the memory, which adds several lines to the code.
> I think that's part of the advantage of Luigi's suggestion.

I guess it will depend on how often the caller already has both timevals 
in memory for some other purpose, as opposed to one of them being 'now'.




More information about the asterisk-dev mailing list