-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
        
        I have an application with this code:

        for(i in 1..1000){
        async at (here){
         //do a lot of things
        }
       }

       This code works fine.

       But when I change it to something like this...
       
       for(i in 1...1000){
        async at(Place.FIRST_PLACE){
         //do the same thing as above
        }
       }
       
       The code blocks and hangs forever. here == Place.FIRST_PLACE
       gives true, because I got only one place (Place(0)) in the
       system. Why doesn't Place.FIRST_PLACE work? Also, I have noticed
       that here.next() does not work, and behaves similarly to
       Place.FIRST_PLACE. Does here.next() not use a circular ring so to
       speak so that when there is only one place in the system,
       here.next(i) should just give place(0)? What are the semantics of
       here.next(i)?
       
       Some information about my setup: 
       
       1.) x10c version 2.2.1 
           Polyglot compiler toolkit version 3.2.0 (2010-06-03 19:23:58)
           
       2.) I am using svn with the update r23057.

       
       

- -- 
Regards,

Avinash Malik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Processed by Mailcrypt(3.5.9)/VM(8.1.0)/Emacs(23.3.1)

iQEcBAEBAgAGBQJOlD0bAAoJEJ/HSJmTaoI1ECMH/3Dz3ziX94RfZqRZAsn8o/A9
/F1BHeKXkxm0XpiHUAF4pVWD5wzqX84vZLGbc0M4+r1/JUbKFCot2Y0JmewKTL9+
XUBIJMTGxpszb6DIiPZlF1fiLxTCxFC9kc8ov4rmkrAtXRXbKH77tDxXhSBRtytU
vWhVup4kC5656OVqc6pNSShqFFCVV4txwXifaUfV8R3aUNC/qMZs92TQnBr3iewV
pKErx9/0v619RNYMHxui1N7ERQdz/adSYOOLWwO/vvyLCsKKs24iqI4THEsO2Nup
l9NDMy/JTj7vxpuYz27M/E6D0fhSkcPFHdwRPlfV2vHGkXgSXvhPG7MDO2X18R0=
=2y/I
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to