]> git.evergreen-ils.org Git - OpenSRF.git/commit
In the main loop of the router: if the select call fails for
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 3 Nov 2009 00:00:59 +0000 (00:00 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 3 Nov 2009 00:00:59 +0000 (00:00 +0000)
commit38a39592ca7d5bfd147b00f718dca73e454e65c4
tree01b15e633f22249477e07702470fe79b5bd30cf9
parent15d83464bfba0a3a647486c51b160ef2eba10848
In the main loop of the router: if the select call fails for
any reason other than an harmless signal (i.e. one whose
handler didn't set a switch to stop the loop), then break
out of the loop and terminate.

The old code would ignore the error and keep looping, using up
ca. 98% of the CPU until somebody killed it.

M    src/router/osrf_router.c

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1839 9efc2488-bf62-4759-914b-345cdb29e865
src/router/osrf_router.c