I've gotten robocode to run on different processors in Windows by running one with java and one with javaw and setting the affinity of java to one processor and the affinity of javaw to the other. Not really the same thing you're wanting to do, but a hack that has the same result (of course, you have to run the program in two seperate instances). -- Kawigi Though, if the OS is any smart about it it should learn quick enough to try to place two jvm instances on different CPUs, shouldn't it? Speaking as a totally non-SMP expert that is! =) -- PEZ
|