[Asterisk-Dev] thread-safe and reentrant functions

Angel Carpintero acp at e-group.org
Wed Aug 27 04:51:30 MST 2003


 Hi all , 

   I was looking at the source code and i found some not reentrant functions 
 like gethostbyname() . I guess that makes asterisk not thread-safe , and it should
 be solved . However i have test asterisk and seems to be quite *stable* ,
  
 Should it be patched with reentrant functions , for instance gethostbyname_r() ?

 Feel free to give your commments/opinios.

 Cheers.

-- 
Angel Carpintero - angel at e-group.org
_________________________________________________________

ELECTRONIC GROUP INTERACTIVE - www.electronic-group.com
World Trade Center, Moll de BARCELONA
Edificio Norte 4 Planta
08039 BARCELONA SPAIN
Tel :    +34 93 600 23 23  
Direct : +34 93 600 23 19
Fax :    +34 93 600 23 10
_________________________________________________________



More information about the asterisk-dev mailing list