Assignment 2 (June 6)

For the pthreads exercise you have to write three programs using pthreads.

  1. parallelize cracking a hash function (sequential code and parallel code template available)
  2. add a thread worker pool for the fibonacci example (from the Cilk lecture) instead of using cilk or the simple pthread version which generates new threads for recursive calls
  3. parallelize the sieve of Eratosthenes (sequential code and parallel code template available)