Browse Source

[213] Note about naming

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

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

@@ -254,6 +254,11 @@ class BoB:
         self.msgq_socket_file = msgq_socket_file
         self.nocache = nocache
         self.component_config = {}
+        # This is not named "components" on purpose, as there doesn't have
+        # to be one-to-one correspondence between processes and components
+        # (A component can have multiple processes, therefore taking multiple
+        # places in the dict, or no processes at all). This tracks the real,
+        # running processes.
         self.processes = {}
         self.runnable = False
         self.uid = setuid