blogs

Read/Write Lock Added to Multithreading Tutorial

I've added another pattern to the Patterns and Idioms section of my C++ Multithreading Tutorial: the Read/Write Lock.

A Read/Write Lock is essentially a mutex that is optimised for the common usage scenario where a resource is much more often read than modified. Read/Write Locking can substantially improve performance in this usage scenario.

Syndicate content