div class="contents">

<p>A critical region is a simple mechanism that prevents multiple threads from accessing at once code protected by the same critical region.  
<a href="#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for Critical Regions:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id