socket.gethostbyname() thread-safe?

Aahz Maruch aahz at panix.com
Tue Apr 10 21:08:34 EDT 2001


In article <3AD33118.8C16E617 at stroeder.com>,
Michael =?iso-8859-1?Q?Str=F6der?=  <michael at stroeder.com> wrote:
>Aahz Maruch wrote:
>> In article <3AD1ABD0.FB728F28 at stroeder.com>,
>> Michael =?iso-8859-1?Q?Str=F6der?=  <michael at stroeder.com> wrote:
>>>
>>>Is socket.gethostbyname() thread-safe on all platforms? It seems to
>>>me that I have some problems on a Debian Linux box.
>> 
>> Looking at the code, it's *supposed* to be thread-safe,
>
>I used a lock around it but that didn't solve the problem.

What problem(s) are you having?
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Why is this newsgroup different from all other newsgroups?



More information about the Python-list mailing list