I dont think we have any such call -- Olivier may know better. One way to get the effect is to pass a command line arg and use that internally. For instance samples/NQueensPar.x10 uses a parameter P to control degree of parallelism in the application. Internally, it generates the value of P, but it could have read it from the command line.
Stephen Fink wrote: > Is there a way in X10 to query the number of physical processors at a > Place? Something analagous to Runtime.getRuntime().availableProcessors() > in Java? > > SJF > ------------------------------------------------------------------------ > Stephen Fink > IBM T.J. Watson Research Center > sjf...@us.ibm.com > (914)784-7776 > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > > > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users