Example: Critical Section
Critical section is the way to order execution:
one processor will enter the critical section at a time
- in OpenMP, critical section can be named
- these names are global entities and should not conflict with other global entities like subroutine names of common blocks
- threads can execute critical sections with different names at the same time
- examples