summaryrefslogtreecommitdiffabout
path: root/include/sitecing/process_manager.h
Unidiff
Diffstat (limited to 'include/sitecing/process_manager.h') (more/less context) (show whitespace changes)
-rw-r--r--include/sitecing/process_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sitecing/process_manager.h b/include/sitecing/process_manager.h
index 73415d3..921f159 100644
--- a/include/sitecing/process_manager.h
+++ b/include/sitecing/process_manager.h
@@ -33,49 +33,49 @@ namespace sitecing {
33 int max_spare_children; 33 int max_spare_children;
34 /** 34 /**
35 * The scoreboard. 35 * The scoreboard.
36 */ 36 */
37 scoreboard sboard; 37 scoreboard sboard;
38 /** 38 /**
39 * We're in the process of shutting down. 39 * We're in the process of shutting down.
40 */ 40 */
41 bool finishing; 41 bool finishing;
42 /** 42 /**
43 * @todo TODO: wish I could rememer -- document me. 43 * @todo TODO: wish I could rememer -- document me.
44 */ 44 */
45 bool die_humbly; 45 bool die_humbly;
46 46
47 process_manager(); 47 process_manager();
48 virtual ~process_manager(); 48 virtual ~process_manager();
49 49
50 /** 50 /**
51 * The main loop. 51 * The main loop.
52 */ 52 */
53 void manage(); 53 void manage();
54 54
55 /** 55 /**
56 * The worker function. 56 * The worker function.
57 * @param the slot allocated for the process. 57 * @param slot the slot allocated for the process.
58 */ 58 */
59 virtual void process(int slot) = 0; 59 virtual void process(int slot) = 0;
60 60
61 /** 61 /**
62 * @todo TODO: wish I could remember -- document me. 62 * @todo TODO: wish I could remember -- document me.
63 */ 63 */
64 void manage_children(); 64 void manage_children();
65 /** 65 /**
66 * @todo TODO: wish I could remember -- document me. 66 * @todo TODO: wish I could remember -- document me.
67 */ 67 */
68 bool spawn_children(); 68 bool spawn_children();
69 /** 69 /**
70 * @todo TODO: wish I could remember -- document me. 70 * @todo TODO: wish I could remember -- document me.
71 */ 71 */
72 bool kill_children(); 72 bool kill_children();
73 /** 73 /**
74 * @todo TODO: wish I could remember -- document me. 74 * @todo TODO: wish I could remember -- document me.
75 */ 75 */
76 void spawn_child(); 76 void spawn_child();
77 /** 77 /**
78 * @todo TODO: wish I could remember -- document me. 78 * @todo TODO: wish I could remember -- document me.
79 */ 79 */
80 void wait_for_children(bool hang=false); 80 void wait_for_children(bool hang=false);
81 /** 81 /**