Previous | Next --- Slide 21 of 36
Back to Lecture Thumbnails
cloudhary

My apologies for asking something so basic, but there is only one thread created by this fork call right? How and where do we exploit the pthread library for parallelism?

bpr

@cloudhary, in slide 26, we see that a fork call allocates threads to the parallel region. And as I said in class, the Cilk and OpenMP runtimes launch a number of threads generally at the first call for that runtime.