[asterisk-bugs] [Asterisk 0012541]: [patch] Janitor for getvar_helper threadsafe

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Apr 28 16:45:24 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12541 
====================================================================== 
Reported By:                snuffy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12541
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 114714 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-28-2008 10:01 CDT
Last Modified:              04-28-2008 16:45 CDT
====================================================================== 
Summary:                    [patch] Janitor for getvar_helper threadsafe
Description: 
I've done a few patches following the code outlined in the
janitor-projects.txt document.
Most apps have been done aside from app_dial at the moment.
All still compiled/ran after change no other testing has taken place.

Note for some multiple get of vars i hold lock for the 3 or so variables
then unlock.
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 04-28-08 16:45  
---------------------------------------------------------------------- 
no problem.. (oops on the 'if (')
i was just following exactly what was in the janitor project.
if they all need to be scrapped and redone with more 'thought' and just
extend channel locks instead of strdupa'ing all the vars.. i'm listening.. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-28-08 16:45  snuffy         Note Added: 0086112                          
======================================================================




More information about the asterisk-bugs mailing list