[Python-Dev] mysterious hangs in socket code
Aahz
aahz@pythoncraft.com
Tue, 3 Sep 2002 19:49:01 -0400
On Tue, Sep 03, 2002, Jeremy Hylton wrote:
>
> I've been running a small, multi-threaded program to retrieve web
> pages today. The entire program appears to hang when I perform a slow
> DNS operation, even there is no application-level coordinate between
> the threads.
gethostbyname() IIRC has frequently been non-reentrant. it might be
related.
--
Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/