The critical pragma identifies a critical section of program code that must only be run by one process at a time.
>>-#--pragma--ibm critical--+--------+------------------------->< '-(name)-'
where name can be used to optionally identify the critical region. Identifiers naming a critical region have external linkage.
The compiler reports an error if you try to branch into or out of a critical section. Some situations that will cause an error are: