diff options
| author | Pieter Wuille <[email protected]> | 2012-04-06 18:39:12 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-04-09 01:59:46 +0200 |
| commit | f8dcd5ca6f55ad49807cf7491c1f153f6158400e (patch) | |
| tree | 6049e300099aa5f509e408acfff0236367b4a26e /src/util.cpp | |
| parent | Merge pull request #987 from luke-jr/ipc_name_fix (diff) | |
| download | discoin-f8dcd5ca6f55ad49807cf7491c1f153f6158400e.tar.xz discoin-f8dcd5ca6f55ad49807cf7491c1f153f6158400e.zip | |
Use scoped locks instead of CRITICAL_BLOCK
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index d55e7ae10..fd4847b1a 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -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) |