Mutual exclusion example completed.