I was wondering if somebody could point me to a simple equivalent of python's multiprocessing module in java.
I have a simple parallel processing scenario (where no 2 processes interact): Take a data set and split it into 12 and apply a java method to the 12 datasets, collect results and join them in a list of some sort with the same ordering.
Java being a "pro" language appears to have multiple libraries and methods - anyone who can help this java newbie get started?
I would like to do this with minimal of coding - as i said my requirement is pretty straightforward.
Update: how to do multiprocessing in java, and what speed gains to expect?
This seems to indicate threads is the way to go. I expect I have no choice but wade into a bunch of locks (pun unintended) and wait for my ship to sail. Simple examples are welcome nevertheless.