added name to atomic
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 14 Oct 2004 20:05:09 +0000 (20:05 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 14 Oct 2004 20:05:09 +0000 (20:05 +0000)
examples/bigsim/sdag/jacobi-no-redn/parallelJacobi.ci

index 901437a0a36fed6c1e5eb6a28f04f7518265a3c6..b6bb287217272ae27b2be914d90b41fd040143db 100644 (file)
@@ -26,19 +26,19 @@ mainmodule parallelJacobi {
        entry void startWork();
        
        entry void singleStep(VoidMsg* msg){
-               atomic{                 
+               atomic "startwork" {                    
                        /*delete msg;*/ 
                        startWork();
                }
                overlap{
                        when getStripfromleft(Msg *aMessage){
-                               atomic {processStripfromleft(aMessage);}
+                               atomic "fromLeft" {processStripfromleft(aMessage);}
                        }
                        when getStripfromright(Msg *aMessage){
-                               atomic{processStripfromright(aMessage);}
+                               atomic "fromRight" {processStripfromright(aMessage);}
                        }
                }
-               atomic{
+               atomic "doWork" {
                        doWork();
                        if(iterations == 3)
                                { /*BgPrint0("Real Iter: %e\n"); */}