Hi all,

     This is in reference to the Fibonacci example available at 
http://dist.codehaus.org/x10/applications/samples/Fib.x10

    Although async at != at async always, but shouldn't the following two 
versions of async produce similar effect?
        
        at (here) async { f1 = fib(n-1); } must start a new activity located 
here and executing S

        async at (here) {fi = fib(n-1); } must also start a new activity here 
and execute S here as well.

   Aren't both the same and should compile correctly when the program compiles 
correctly with async { f1 = fib(n-1)} ? However, the compiler reports this 
error : "f1" may not have been initialized


  Thanks,
     Jeeva P.
     
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to