On 8/24/06, why the lucky stiff <ruby-talk / whytheluckystiff.net> wrote:
> On Thu, Aug 24, 2006 at 04:15:02PM +0900, daniel.haxx / gmail.com wrote:
> > libcurl offers an asynchronous API that does the name resolving
> > asynchronously if you've built libcurl to do so.
>
> Does it use the native getaddrinfo()?  The problem I've had on FreeBSD
> is that getaddrinfo() will block.
>
> _why
>
>

Does it matter whether it blocks or not? Ruby can't schedule its green
threads while you're inside a system-library call unless the call
knows about Ruby's scheduler (which it doesn't). Right?