]> git.evergreen-ils.org Git - Evergreen.git/commit
1. In the parent router process: wait for all of the immediate
authorscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Dec 2009 21:29:00 +0000 (21:29 +0000)
committerscottmk <scottmk@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Dec 2009 21:29:00 +0000 (21:29 +0000)
commit27b65dcc3d91eb7bfe158eb292b56204e76e685f
treeefe7032f1fb32899754c9be8387a5af5b1dc0697
parentd8efcc2cf016d1f0785f154b26c213edb294bc50
1. In the parent router process: wait for all of the immediate
child processes to terminate before exiting.

This change eliminates the need for the shell script invoking
the router to sleep before running a ps to identify the effective
router processes (which are grandchildren of the parent).  By the
time the parent exits, the children will have launched the
grandchildren and exited.

2. If any of the immediate child processes terminates abnormally
(either a non-zero return code or termination by a signal), issue
a warning message to that effect.  This message goes to standard
error, since the parent process never opens a log file.

3. Apply the volatile qualifier to a couple of variables that
are updated asynchronously by a signal handler.

M    Open-ILS/src/sql/Pg/999.functions.global.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@15203 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/999.functions.global.sql