httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <>
Subject Re: aprmemcache question
Date Thu, 27 Sep 2012 12:53:35 GMT
On Thu, Sep 27, 2012 at 4:05 AM, Joshua Marantz <> wrote:
> RE "failing the build of my module" -- the dominant usage is via
> precompiled binaries we supply.  Is there an apr query for determining
> whether apr was compiled with threads I could do on startup?

I don't think there's an official way but you know apr was compiled
with APR_HAS_THREADS when dlsym(NULL, "apr_os_thread_current") !=

Using dlsym() like that is not quite compatible with POSIX but it
works on all the major Unices.

View raw message