Adding a new call to handle loadbalancing in the new interface.
authorSameer Kumar <skumar2@uiuc.edu>
Tue, 31 May 2005 19:30:38 +0000 (19:30 +0000)
committerSameer Kumar <skumar2@uiuc.edu>
Tue, 31 May 2005 19:30:38 +0000 (19:30 +0000)
src/ck-com/ComlibManager.h

index 0e4ab05691608639fd08b1b97a0d4badde9e3970..832395256c5a3c5e01850dc55eeada802920ccbc 100644 (file)
@@ -242,8 +242,15 @@ void ComlibEnd(CProxy &proxy);
 ComlibInstanceHandle CkCreateComlibInstance();
 ComlibInstanceHandle CkGetComlibInstance();
 ComlibInstanceHandle CkGetComlibInstance(int id);
+
 void ComlibResetSectionProxy(CProxySection_ArrayBase *sproxy);
 
+inline void ComlibResetProxy(CProxy *aproxy) {
+  ComlibInstanceHandle *handle = 
+    (ComlibInstanceHandle *) aproxy->ckDelegatedPtr();
+  handle->setSourcePe();
+}
+
 //Only Called when the strategies are not being created in main::main
 void ComlibDoneCreating();