hi...i have a problem with threads.actually wat i have been asked to do in the assignment is to make a 3x3 matrix multiplication program in c++ , and show that the every result of the resultant matrix is obtained from a thread..in actual we dont have to implement the problem using actual threads but just to give a simulation of threads...please can anyone suggest me something on how to do this assignment......??
Comments
I'd suggest you get x number of 3x3 matrices from somewhere (user input, file etc), then start a calculation for each one of them, then display the result in the main thread.
: run a function for each calculation, but the execution would still
: be linear.
:
: I'd suggest you get x number of 3x3 matrices from somewhere (user
: input, file etc), then start a calculation for each one of them,
: then display the result in the main thread.
:
: ok..Thanks...can u suggest me an algo if i really have to implement it with threads...
As for matrix multiplication, I would have to look it up. It has been a while since I studied that. :-)