I'm concerned about the overuse of thread local buffers throughout the
code base.
Based on the commit message, it seems that in this case it was simply
a hack to avoid having to ensure ast_free() is called in the right
places. After looking at app_voicemail, I can't find a better
explanation for it. leave_voicemail() is not a function called many
times within the same thread.
So, I think thread storage in this case is way overkill. Thoughts?
--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum