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

From wiki.ucalgary.ca
Jump to: navigation, search

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