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)
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
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.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
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.,..
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Rinku Gambhir wrote:Thank you all , for sharing the possible ways of parallel programming in Java
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
It's hard to fight evil. The little things, like a nice sandwich, really helps. Right tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|