[SOLVED] CSC4103-Programming Assignment 1 Multithreading

20.99 $

Category:

Description

Rate this product

Modern operating systems provide features for a process to use multiple threads to speed up accesses. In the class, we have learned the concepts associated with multithreaded computer systems, such as multithreading models. There are various thread libraries. POSIX Pthreads, and Java Threads are widely used for creating and manipulating threads.  The textbook (Threads, Chapter 4) gives examples of multithreaded programs using these libraries.

 

Programming Task

In this assignment, you need to implement the Project – Matrix Multiplication given in the textbook (Chapter 4, 8th edition), which is also attached in this project description.  Your program will calculate each element Ci,j of the matrix product C of two matrices A and B using an individual/separate thread.  So, the number of threads is equal to the number of terms in the matrix product. Use either POSIX Pthreads or Java threads to implement this program.  The matrices to be multiplied are:

 

“1 4%

$      ‘                   “8 7 6%

A =$2 5′    and B =$#5  4 3’&

$#3  6’&

Programming Language

C/C++ or Java