Add a bit of bulletproofing.
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 22 Jun 2010 15:35:03 +0000 (15:35 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 22 Jun 2010 15:35:03 +0000 (15:35 +0000)
commit0cf3d031692c1a413cfe909243f21a9e01ebe1c2
tree74a51d0640a0750ca21c3f65c0960f065b824405
parentb9b88eacac9031f35ebc07f538e4665ac19a7416
Add a bit of bulletproofing.

When a drone finishes servicing a request, it writes a brief message
to a pipe, to notify the listener that it's available for another request.

Change: if the write to the pipe is not successful, log an error message
and terminate.  Otherwise the drone would become undead and unreachable.

M    src/libopensrf/osrf_prefork.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1968 9efc2488-bf62-4759-914b-345cdb29e865
src/libopensrf/osrf_prefork.c