Open PerilousApricot opened 8 years ago
We have 2 patches:
1) Making the threadpool threadsafe. This could most likely be upstreamed. 2) Make APR network Read/Write routines thread safe. This most likely will not get accepted because someone went to a fair amount of effort to do some internal optimizations (that we'd never care about and about provide a dubious performance boost in any case).
If those are the only holdups, let's not worry about upstreaming it, just strip out/reimplement what we need.
In the interim. I added an option "ENABLE_UPSTREAM_APR" to CMake to have find_library(APR) get the non "-ACCRE" suffixed library, It obviously has the broken thread safety still, but it's useful to build things more quickly.
Running build tests and such is dominated by the time it takes to build APR. What are the patches we're carrying? Can we upstream them?