|
-
March 25th, 2012, 07:03 AM
#4
Re: Not sure how to get started on threading with matrixes in PThreads
 Originally Posted by jedipenguin
I'm supposed to use C++ and the PThread API (can't use the Win 32 API). I'm supposed to take a matrix and use a bunch of threads to solve each part of the matrix, or each calculation. I'm to have bunch of threads or process, can't recall which. Anyway, I need them to solve each part of the matrix, but only do one calculation per thread.
You should learn enough C++ to be able to write this as a single-threaded program before you start using threads. Which book/method are you using to learn C++?
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|