[Asterisk-Dev] thread-safe and reentrant functions

Gene Kochanowsky gene at solutionsciences.com
Wed Aug 27 09:04:42 MST 2003


As long as people are making requests regarding the Asterisk code base, I would like to see asterisk converted to an object oriented application.

Gene

-----Original Message-----
From: Angel Carpintero [mailto:acp at e-group.org]
Sent: Wednesday, August 27, 2003 7:52 AM
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] thread-safe and reentrant functions



 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
_________________________________________________________
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list