Browse Source

[213] Doc string for register_process

Michal 'vorner' Vaner 13 years ago
parent
commit
1c4e66cfdf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/bin/bind10/bind10_src.py.in

+ 4 - 0
src/bin/bind10/bind10_src.py.in

@@ -755,6 +755,10 @@ class BoB:
         return next_restart
 
     def register_process(self, pid, info):
+        """
+        Put another process into boss to watch over it.  When the process
+        dies, the info.failed() is called with the exit code.
+        """
         self.processes[pid] = info
 
 # global variables, needed for signal handlers