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

From wiki.ucalgary.ca
< Courses‎ | Computer Science‎ | CPSC 457.F2013‎ | Lecture Notes
Revision as of 17:06, 13 November 2013 by Locasto (talk | contribs) (Threads)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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