Subject: [ruby-talk:10482] Re: threads and resolving names
From: “Joseph McDonald”
Date: Wed, 7 Feb 2001 15:27:00 +0900
In-reply-to: 10481
|I thought if I created a bunch of threads that I could get around
|the problem and would only hang when all threads (100) are hung.
|But that doesn’t seem to be the case. Do I have my threading
|wrong?Sorry, resolving by gethostbyname(3) etc block whole process. It’s a
pity of user level thread.matz.
I for one find this a serious defect [all threads block (?) when one is
resolving a DNS address]. Well cross your fingers and hope it gets
fixed soon!
Thanks.
-Roger