socket.gethostbyname() thread-safe?
Michael Ströder
michael at stroeder.com
Tue Apr 10 12:13:12 EDT 2001
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.
Ciao, Michael.
More information about the Python-list
mailing list