[Asterisk-Dev] thread-safe and reentrant functions
Steven Critchfield
critch at basesys.com
Wed Aug 27 09:38:05 MST 2003
On Wed, 2003-08-27 at 11:04, Gene Kochanowsky wrote:
> As long as people are making requests regarding the Asterisk code
> base, I would like to see asterisk converted to an object oriented
> application.
Can you give a compelling answer as to why? At least the message that
started the thread is working towards reduced number of bugs.
> -----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.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-dev
mailing list