title: What does CCriticalSection do?
body: <p>What the diffrence between this code:</p>
  
  <pre><code>::EnterCriticalSection( &amp;m_CriticalSection );
  //...
  ::LeaveCriticalSection( &amp;m_CriticalSection );
  </code></pre>
  
  <p>and the code:</p>
  
  <pre><code>static CCriticalSection cs;
  cs.Lock();
  //...
  cs.UnLock();
  </code></pre>