Changes for out-of-core emulation in BigSim. Reasons could be referred to Chao Mei...
[charm.git] / src / ck-ldb / LBDBManager.h
index 69b9eb86fd342ca5e21969b74d01ff5286c25cb9..26e24336295a092f534847ffd91a614ce9db6b35 100644 (file)
@@ -26,7 +26,11 @@ class LocalBarrier {
 friend class LBDB;
 public:
   LocalBarrier() { cur_refcount = 1; client_count = 0; max_client = 0;
-                   max_receiver= 0; at_count = 0; on = CmiFalse; };
+                   max_receiver= 0; at_count = 0; on = CmiFalse; 
+       #if CMK_BLUEGENE_CHARM
+       first_free_client_slot = 0;
+       #endif
+    };
   ~LocalBarrier() { };
 
   LDBarrierClient AddClient(LDResumeFn fn, void* data);
@@ -64,6 +68,10 @@ private:
   int max_receiver;
   int at_count;
   CmiBool on;
+
+  #if CMK_BLUEGENE_CHARM
+  int first_free_client_slot;
+  #endif
 };
 
 class LBDB {