On 1 March 2016 at 18:44, Thorsten Schöning <[email protected]> wrote:
> I think I've missed you somewhere... :-) Did you rebuild with
> APR_HAS_THREADS 1 and 0 gave you errors, but is of no interest anyway,
> or are you using APR_HAS_THREADS 0 all the time, just in another way
> or how exactly are you building APR currently? If my suggested changed
> DTOR works, it looks like you are using APR_HAS_THREADS 1 now.

Yes, I am (and always was) building with APR_HAS_THREADS 1 because
that is how it is defined in apr.h by default.

When I flipped to APR_HAS_THREADS 0 and tried to rebuild, I
experienced the compiler errors in
"apr\include\arch\win32\apr_arch_file_io.h" I mentioned above.

Right now my priority is to stop our application from crashing so I
can hit a rapidly approaching deadline, so I am releasing with the
empty dtor workaround for now.

But if it helps, I don't mind experimenting offline with the apr /
log4cxx code to see if APR_HAS_THREADS 0 can be made to work on
Windows. I could use some help with that compiler error though ;)

Another thing: if APR_HAS_THREADS 0 does prevent my crashes, will that
make log4cxx less responsive? Our application cannot really tolerate a
drop in performance.


Many thanks!
-- 
Sean

Reply via email to