mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Use scoped locks instead of CRITICAL_BLOCK
This commit is contained in:
parent
138d08c531
commit
f8dcd5ca6f
19 changed files with 286 additions and 190 deletions
|
|
@ -195,8 +195,8 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
|
|||
static CCriticalSection cs_OutputDebugStringF;
|
||||
|
||||
// accumulate a line at a time
|
||||
CRITICAL_BLOCK(cs_OutputDebugStringF)
|
||||
{
|
||||
LOCK(cs_OutputDebugStringF);
|
||||
static char pszBuffer[50000];
|
||||
static char* pend;
|
||||
if (pend == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue