1997-98
CS 284aHomework One: Multithreaded Quicksort
Handed out:
Wednesday, 15th October 1997.Introduction
Starting with the program provided, use the
sthread_block() function to develop a correct and efficient multithreaded quicksort function. The program consists of three files: quicksort.h, quicksort.c, and main.c. Write the multithreaded quicksort function in quicksort.c. Use the main program provided to test and time your multithreaded quicksort function.What to hand in
Notes
Grading
Your homework will be graded out of 20 points as follows:
You must follow the style of maintaining equivalent pragma and Sthreads versions of multithreaded functions.
Double your best speedup for sorting 25 million items.
Tables and graphs must be complete and well presented.
Your analysis must be accurate and insightful.