| commit | 9bbab8e457ff4b4b60ffd8deac98ce49797d4133 | [log] [tgz] |
|---|---|---|
| author | John Koleszar <jkoleszar@google.com> | Mon Sep 24 14:52:18 2012 -0700 |
| committer | John Koleszar <jkoleszar@google.com> | Wed Oct 03 10:56:37 2012 -0700 |
| tree | e49e0e2a793e1106558494a6a8f1f76d21285e70 | |
| parent | 0211cd899a359538feef4f21b41c152d0a4cace3 [diff] |
rtcd/win32: use InitializeCriticalSection explicitly
Protect the call to {Initialize,Delete}CriticalSection() with an
Interlocked{Inc,Dec}rement() pair, rather than the previous static
initialization. This should play better with AppVerifier, and fix issue
http://code.google.com/p/webm/issues/detail?id=467
Change-Id: I06eadbfac1b3b4414adb8eac862ef9bd14bbe4ad