Please forgive me if this issue has been covered previously, but I've been wondering lately about whether it would be useful to add support for lightweight spin-locks as a complement to the current intraprocess locks in APR. There are some places, like the pool memory allocator, where a spinlock might perform better than a pthread mutex. Thoughts?
Thanks, --Brian