I have a requirement and i am not sure if that can be fulfilled by using threads. I have two predefined 100*100 matrices and i want to perform their multiplication. What i want is, not simple multiplication but i want to divide this into three separate programs , first program will do multiplication of first 33 rows, second program will do multiplication of rows from 33 to 64 and third will do multiplication of rows 64 to 100. Now i want to run these programs in parallel and collect their results( i.e. multiplications of rows) and then join these three different results into a single matrix. Now, i have developed three such programs or classes but i am not able to find any way to run them parallel. In threads, i read that we can not be sure which thread will execute first and which will execute later.
Can anyone please give me any idea which technique i can use for my problem?
I will be very thankful to you guys.