7. “Real code”

“When we were still little,” the Mock Turtle went on at last, more calmly,      though still sobbing a little now and then, “we went to school in the sea.      The master was an old Turtle—we used to call him Tortoise—”“Why did you call him Tortoise, if he wasn’t one?” Alice asked.“We called him Tortoise because he taught us,” said the      Mock Turtle angrily.

Lewis Carroll, Alice’s Adventures in Wonderland

This section builds on most of the earlier sections of the book, but principally on the mutex and condition variable sections. You should already understand how to create both types of synchronization objects and how they work. I will demonstrate the design and construction of barrier and read/write lock synchronization mechanisms ...

Get Programming with POSIX ® Threads now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.