Rinku Gambhir wrote:Please share some books,links for doing parallel programming in Java.
how to print a simple message like my name , number of times I have cores in my processor(Multi-core processors)
Winston Gutkowski wrote:It's possible that you can do it, but equally possible that you can't, because things like "number of processors" is simply not the sort of thing that the Java language (or a Java programmer) is interested in.
Jesper de Jong wrote:I disagree with that the number of processors is something you'd not be interested in as a Java developer. If you'll want to tune your multi-threaded Java application to run as efficiently as possible you'll want to take the number of processors into account, so that you don't create too few or too many threads.
Jesper de Jong wrote:Another thing that you can use for parallel processing is the fork/join framework,..
Gary W. Lucas wrote:Sometimes a block of code that is too aggressive in grabbing CPU resources will interfere with other operations.,..
Rinku Gambhir wrote:Thank you all , for sharing the possible ways of parallel programming in Java