{logo}

May 2000
Volume 18 Number 5

MULTITHREADING

Using Predicate Waits with Win32 Threads

David M. Howard
Most Win32 synchronization primitives are just that primitive. But you can use them to build queues that are safe and easy to use.

Integrating Threads with Template Classes

Charles Calkins
It's obviously a good idea to encapsulate a thread as an object. It is less obvious how to get all the interfaces right.

Thread-Safe Access to Collections

Jeff Kleber
The best place to store a thread lock for a shared container is somewhere inside the container deep inside.

FEATURES

Visualizing Depth Images via Rendering

Dwayne Phillips
In case you thought that Dwayne Phillips had exhausted the topic of imaging in these pages, here's another interesting installment.

Catching Untested Return Codes

Marc Guillemot
Who watches the watchers, at least to make sure they're watching? This class does.

State Machine Design in C++

David Lafreniere
It's not all that hard to implement a finite-state machine, unless it's very large, and you have to worry about multithreading, and ...

C/C++ CONTRIBUTING EDITORS

Standard C/C++: exit(0)

P. J. Plauger
All good things must come to an end.

The Journeyman's Shop: When "Retro" Is Better

Pete Becker
The old ways aren't always the best ways, but they often are pretty darned good.

Uncaught Exceptions: Remembrance

Bobby Schmidt
Bobby finds still more to warn about when playing fast and loose with pointers, smart pointers, and arrays.

DEPARTMENTS

Editor's Forum

New Products

We Have Mail