]> AND Private Git Repository - loba.git/blobdiff - hostdata.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Protect concurrent accesses to shared variables in process.
[loba.git] / hostdata.h
index 59ca35da06bb020cb6bbd771e73b189d6edc51d3..722b2bcdc87340095edb6ce7bb669fec8c6f6a95 100644 (file)
@@ -5,6 +5,9 @@
 #include <vector>
 #include <msg/msg.h>
 
 #include <vector>
 #include <msg/msg.h>
 
+// Helper class that associates instances of itself with each host.
+// Facilitate global operations on hosts, and retreiving of host name
+// and mailboxes.
 class hostdata {
 public:
     static void create();
 class hostdata {
 public:
     static void create();
@@ -22,7 +25,6 @@ public:
 private:
     // static list of hostdata's, used by create/destroy
     static std::vector<hostdata> hosts;
 private:
     // static list of hostdata's, used by create/destroy
     static std::vector<hostdata> hosts;
-    struct m_host_less;
 
     const char* name;
     std::string ctrl_mbox;
 
     const char* name;
     std::string ctrl_mbox;