Courses/Computer Science/CPSC 457.F2013/Lecture Notes/Threads

= Threads =

In this session, we will undertake a joint programming exercise using pthreads.

Model Producer-Consumer

Source

The source is available here: pc.c

Remember to link it with -lpthread