Tutorial: Analyzing Locks and Waits - C++ Sample Code

For more complete information about compiler optimizations, see our Optimization Notice.