What to Synchronize
Updates -- Parallel do constant references
Not independent -- Parallel do iterations assign separate elements
Place critical/ordered section around groups of updates
Hint! Pay attention to control flow
- Make sure you don’t branch in or out
- Pull it outside Loop or Region if possible