[Asterisk-Dev] thread-safe and reentrant functions

Peter Grace pgrace at fierymoon.com
Wed Aug 27 17:44:24 MST 2003


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Might as well jump in here -- I'll take a #1 combo, king
size fries and a doctor pepper please!

</humor>
Pete

- -----Original Message-----
From: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com] On Behalf Of
Gene Kochanowsky
Sent: Wednesday, August 27, 2003 12:05 PM
To: asterisk-dev at lists.digium.com
Subject: RE: [Asterisk-Dev] thread-safe and reentrant
functions


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

- ---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date:
8/14/2003
 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBP01QaNW8rcEEsO4aEQJO6gCcCRbGvkbnSkyo3/stOMcoUE4kpOIAn1pB
N77VBD6d/Hyu9w5zEJhr/A4+
=LtmE
-----END PGP SIGNATURE-----

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003




More information about the asterisk-dev mailing list