Homework2 - COP 4600 Homework 2 Due Problem 1(50 pts This...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 4600 - Homework 2 Due March 17, 2009 Problem 1: (50 pts) This problem requires you to complete a multithreaded program sorting files. Download the zip file from the web page, and follow the instructions in Readme.txt Problem 2: (15 pts) Consider an environment in which there is a one-to-one mapping between user-level threads and kernel level threads that allows one or more threads within a process to issue blocking system calls while other threads continue to run. Explain why this model can make multithreaded programs run faster than their single-threaded counterparts on a uniprocessor computer. Problem 3: (15 pts) If a process exits and there are still threads of that process running, will they continue to run? Problem 4: (20 pts) In many aspects, multiprogramming (running multiple programs on single processor machines) and multiprocessing (running multiple programs on multiple processors) create the same problems with respect to concurrency. However, there are some differences as well. Describe two of them.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Ask a homework question - tutors are online