Hi everyone, I'm new to this site and glad to be here :).
I'm not a good java programmer, it's just my hobby, but I'm eager to know more than average stuff.
I want to solve a mathematical problem with multiple threads in java. my math problem can be separated into work units, that I want to have solved in several threads.
but I don't want to have a fixed amount of threads working on it, but instead a coresponding amount of threads to the amount of cpu cores. and my problem is, that I couldn't find an easy tutorial in the internet for this. all I found are examples with fixed threads.
So could you help me with a link to a good tuturial or could give me an easy and good example? That would be really nice :)
thank you in advance,
Andreas