apr_dso_load with RTLD_LAZY and RTLD_LOCAL

2011-05-27 Thread Alexander Broekhuis
Hello, Currently there is only apr_dso_load which loads libraries globally (RTLD_GLOBAL) and resolves everything direct (RTLD_NOW). Is there an alternative for which I can define the flags myself? The documentation of 1.4 states: Bug: We aught to provide an alternative to RTLD_GLOBAL, which is

Re: 100% cpu with APR on Windows

2011-05-27 Thread Justin Erenkrantz
On Fri, May 6, 2011 at 4:01 AM, Jeff Trawick traw...@gmail.com wrote: WSAPoll() is available with Vista/2008 Server and later.  It should be used automatically by APR without rebuilding your code (via a run-time check for presence of the Windows API). As far as WSAPoll() and this issue...  MS

Re: apr_dso_load with RTLD_LAZY and RTLD_LOCAL

2011-05-27 Thread Massimo Manghi
At least providing a way for specifying different load flags can be useful, and having even RTLD_LOCAL might be a recommended default in many cases Recently I ran into a problem connected with these flags developing mod_rivet. This sort of trouble occurred in a weird way and it was a real waste

Re: 100% cpu with APR on Windows

2011-05-27 Thread Justin Erenkrantz
On Thu, May 26, 2011 at 10:30 PM, Justin Erenkrantz jus...@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

Re: Re: 100% cpu with APR on Windows

2011-05-27 Thread trawick
On , Justin Erenkrantz jus...@erenkrantz.com wrote: On Thu, May 26, 2011 at 10:30 PM, Justin Erenkrantz jus...@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

Re: Re: 100% cpu with APR on Windows

2011-05-27 Thread Justin Erenkrantz
On Fri, May 27, 2011 at 9:48 AM, traw...@gmail.com wrote: Can you outline the idioms you refer to that prefer a select() implementation? iow, how different are they from apr_socket_create set socket nonblocking with no timeout apr_socket_connect() apr_pollset_poll() That's all serf is