Closed Bug 209855 Opened 21 years ago Closed 21 years ago

_PR_HAVE_THREADSAFE_GETHOST should (probably) be defined for WIN32 platforms

Categories

(NSPR :: NSPR, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: darin.moz, Assigned: wtc)

Details

Wan-Teh Chang wrote: > > Darin Fisher wrote: > >> wtc, >> >> i noticed that it looks like _PR_NO_DNS_LOCK is not defined under WIN32. the msdn docs say that gethostbyname uses thread local storage (see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/gethostbyname_2.asp). >> >> should i file a bug? or is there some problem with disabling the locks under WIN32? > > Yes, please file a bug. I didn't know about that. > We also need to verify that gethostbyaddr uses > thread local storage. (It's not documented, so > we'll need to determine that by experiments.) > If so, then we can define > _PR_HAVE_THREADSAFE_GETHOST.
This was fixed as part of my checkin for bug 211501.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.5
You need to log in before you can comment on or make changes to this bug.