Stephen Birarda
be03a65dc7
remember the pid of previous child processes
2015-05-08 17:30:22 -07:00
Stephen Birarda
7b91dbfe07
wait on all children simultaneously
2015-05-08 17:24:20 -07:00
Stephen Birarda
ba2ccc1e98
change waitOnChildren syntax in AC monitor
2015-05-08 16:23:44 -07:00
Seth Alves
b041fd1b7f
AssignmentClientMonitor now waits() on children
2015-04-29 15:58:56 -07:00
Seth Alves
02fd9987c7
rework audio mixer so it can exit cleanly
2015-04-28 18:38:41 -07:00
Seth Alves
8affca6120
pass -t to children even if run in parent mode. monitor (parent) only interacts with its own children
2015-03-03 14:58:53 -08:00
Seth Alves
0ce49888ff
AssignmentClientApp is QCoreApplication, other classes aren't. If --min is set and all the assignment clients exit (probably due to domain server restarting), respawn until --min is statisfied.
2015-02-25 09:20:34 -08:00
Seth Alves
c9d6a44c3a
fix up command-line parsing
2015-02-24 16:56:13 -08:00
Seth Alves
0b9b7f06cc
address various comments from code review
2015-02-23 11:12:19 -08:00
Seth Alves
4bba4fc387
cleanups
2015-02-20 13:44:37 -08:00
Seth Alves
feb0e7ac31
AssignmentClientMonitor doesn't keep a list of its children. Instead it knows about active children due to their entries in the NodeList. Every few seconds, if 2 or more children are idle, the Monitor will ask one to exit
2015-02-20 13:26:59 -08:00
Seth Alves
4b3183d820
AssignmentClients accept an id on the command-line.
...
AssignmentClientMonitor now has a NodeList. It stores its local port
in shared memory, like the DomainServer does. As it spawns children,
it addes Nodes to the NodeList for each one. The children send status
updates to the Monitor. The Monitor will notice if there are no
spares and fork another child.
2015-02-19 17:44:06 -08:00
Stephen Birarda
f58d21d6f0
have ShutdownEventListener handle WM_CLOSE or SIGTERM
2014-12-11 10:21:11 -08:00
Stephen Birarda
dac980d433
have AssignmentClientMonitor catch SIGTERM and cleanup
2014-11-19 16:40:19 -08:00
Stephen Birarda
ae4b8348a2
fix header include guards via regex
2014-04-09 12:03:17 -07:00
Stephen Birarda
6a51df9e38
initial regex replacement of headers
2014-04-08 17:30:36 -07:00
Stephen Birarda
ceb8ca7a23
changes to AssignmentClient architecture to fix fork behaviour
2014-01-10 16:59:01 -08:00