apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jus...@erenkrantz.com>
Subject Re: 100% cpu with APR on Windows
Date Fri, 27 May 2011 19:10:42 GMT
On Thu, May 26, 2011 at 10:30 PM, Justin Erenkrantz
<justin@erenkrantz.com> wrote:
> Has anyone else seen this behavior?  Anybody have any clever
> workarounds?  -- justin

Using apr_pollset_create_ex() with APR_POLLSET_SELECT allows serf to
be happy on Win32.

Besides connect() failing, there is at least one other failure due to
WSAPoll [1] - I'm not terribly sure that this should be the default
given how sketchy this API appears to be.  Thoughts?  I don't really
want to put an #ifdef Win32 to avoid using the default in
serf...but...well...  -- justin

1. http://code.google.com/p/serf/issues/detail?id=74

Mime
View raw message