delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/11/16:54:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <434C2688.9070001@familiehaase.de>
Date: Tue, 11 Oct 2005 22:54:32 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gethostbyname_r
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0510111013570 DOT 8152 AT ns DOT pyerotechnics DOT com> <20051011143306 DOT GI12938 AT calimero DOT vinschen DOT de> <Pine DOT LNX DOT 4 DOT 62 DOT 0510111037280 DOT 8152 AT ns DOT pyerotechnics DOT com> <Pine DOT CYG DOT 4 DOT 58 DOT 0510111051180 DOT 1904 AT PC1163-8460-XP DOT flightsafety DOT com> <434BE411 DOT 4060702 AT air2web DOT com> <20051011164433 DOT GB15402 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20051011164433.GB15402@trixie.casa.cgf.cx>
X-IsSubscribed: yes

Christopher Faylor wrote:
> On Tue, Oct 11, 2005 at 12:10:57PM -0400, Richard Campbell wrote:
> 
>>Brian Ford wrote:
>>
>>>There is almost no need for gethostbyname_r on Cygwin since its sole
>>>purpose is to create a thread safe interface.  In most all cases, Cygwin's
>>>gethostbyname is thread safe.
>>>
>>>http://www.cygwin.com/ml/cygwin/2004-05/msg00202.html
>>
>>1) Resolving a numeric host is more common than whatever (all - "most 
>>all") is, IMO.
>>2) The difference between most all and all is usually horrible to track 
>>down.
> 
> 
> AFAIK, cygwin's gethostbyname is thread safe in all cases.

So it would be possible to add an alias gethostbyname_r == gethostbyname
to the list of exported functions?


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019