This documentation is archived and is not being maintained.

Wait Synchronization Technology Sample

This sample demonstrates how to use the WaitHandle class for thread synchronization. The WaitHandle-derived type Mutex is used to enforce mutually exclusive access to a protected block of code.

Readme Location

For more information, see the Readme file at <SDK>v1.1\Samples\Technologies\Threading\WaitSynchronization

Concepts Presented in This Sample

thread synchronization, samples; Mutex class, samples; AutoResetEvent class, samples; WaitHandle class, samples; Interlocked class, samples; Threading namespace, samples; ThreadPool class, samples; Delegate class, samples; WaitCallback class, samples; threads, samples; WaitForMultipleObjects class, samples; WaitForMultipleObjectsEx class, samples; WaitForSingleObject class, samples