In my previous blog, I mentioned that “we may be better off writing multithreaded programs for our problems without explicitly using these(thread synchronization) mechanisms, if and whenever possible.” We saw a C++ multithreaded code in action using Boost.Asio Strand. In this blog, I am going to continue this topic and show you another working C++ multithreaded program for matrix multiplication without thread synchronization.
Here is the list of subtitles:
1. Multithreading Without Thread Synchronization: What Kind of Problems Can We Solve With This Approach?
2. A C++ Multithreaded Program for Matrix Multiplication Without Thread Synchronization
3. Thead Function: multiply() in the Class
4. What Is Going On Under Hood?
5. Play With Matrices of Different Dimension (SIZE)
For the details and its source code, please read my blog at:
http://zhaowuluo.wordpress.com/2011/01/02/cplusplus_threading_matrix_multiplication/
Happy reading!
Here is the list of subtitles:
1. Multithreading Without Thread Synchronization: What Kind of Problems Can We Solve With This Approach?
2. A C++ Multithreaded Program for Matrix Multiplication Without Thread Synchronization
3. Thead Function: multiply() in the Class
4. What Is Going On Under Hood?
5. Play With Matrices of Different Dimension (SIZE)
For the details and its source code, please read my blog at:
http://zhaowuluo.wordpress.com/2011/01/02/cplusplus_threading_matrix_multiplication/
Happy reading!