Now, when no children are available to pass a request to, the parent
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 Sep 2006 02:03:52 +0000 (02:03 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 12 Sep 2006 02:03:52 +0000 (02:03 +0000)
commit286dcd4f63bf0e6ac140f093a9152a63b37446d8
tree34fe85cc3f8b54cbc8a82ece36cd3fedef3b2b67
parentc91d654275632ca5ffe2defcdc523ee494b2151b
Now, when no children are available to pass a request to, the parent
process blocks on a select() call until any child is available.

previously, the parent would sleep 50ms, do a select() poll, sleep again, etc.

The new approach has the potential to be up to almost 50ms faster at finding
an available child when the parent is forced to wait.  plus, polling is just dumb

git-svn-id: svn://svn.open-ils.org/ILS/trunk@6071 dcc99617-32d9-48b4-a31d-7c20da2025e4
OpenSRF/src/libstack/osrf_prefork.c
OpenSRF/src/libstack/osrf_prefork.h