Hi everybody,
I worked up some enhancements to the apr_queue.c/h files, basically
allowing manually blocking of push and/or pop, and also providing a
function that will block until the queue is empty. I've already used
this in some code that I have written for FreeSWITCH to allow for a safe
reload of the configuration file for my module. Hopefully you will
think that this is useful for the rest of the world to be able to use.
Patches included in the bug.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41254
-Yossi