On Mon, Apr 3, 2017 at 5:00 PM, Yann Ylavic <ylavic....@gmail.com> wrote: > On Mon, Apr 3, 2017 at 9:24 PM, William A Rowe Jr <wr...@rowe-clan.net> wrote: > >> Given that we didn't elect PROC_PTHREAD mutexes as an alternate >> _USE_ schema, I don't have a strong opinion about changing this >> for 1.6.0. It can be overridden by the implementer. > > Yes, ./configure apr_lock_method=USE_PROC_PTHREAD_SERIALIZE works. > >> It seems we really >> should change it on trunk and get that tested in the wild by fellow devs, >> at least. > > I can live with this too :)
For completeness, FC25's default after their patches; /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_MMAP_TMP 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_MMAP_SHM 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_MMAP_ZERO 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_SHMGET_ANON 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_SHMGET 1 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_MMAP_ANON 1 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SHMEM_BEOS 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_FLOCK_SERIALIZE 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_SYSVSEM_SERIALIZE 1 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_POSIXSEM_SERIALIZE 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_FCNTL_SERIALIZE 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_PROC_PTHREAD_SERIALIZE 0 /usr/include/apr-1/apr-x86_64.h:#define APR_USE_PTHREAD_SERIALIZE 1 So RH hasn't seen fit to override the default. Feel free to compare to your $favorite_distro.