]> Git Repo - VerusCoin.git/commit - src/util.h
OutputDebugStringF code cleanup
authorGavin Andresen <[email protected]>
Tue, 1 Jan 2013 22:12:30 +0000 (17:12 -0500)
committerGavin Andresen <[email protected]>
Tue, 1 Jan 2013 22:12:30 +0000 (17:12 -0500)
commitee3374234c60aba2cc4c5cd5cac1c0aefc2d817c
treedac48288a89b711ddde40e17a7d8545bfd044bc9
parent3f964b3c5085261ee636834f9bfadf7ab5a722c6
OutputDebugStringF code cleanup

Initialize the OutputDebugStringF mutex and file pointer using
boost::call_once, to be thread-safe.
Make the return value of OutputDebugStringF really be the number of
characters written (*printf() semantics).
Declare the fReopenDebugLog flag volatile, since it is changed from
a signal handler.
And don't declare OutputDebugStringF() as inline.
src/util.cpp
src/util.h
This page took 0.025004 seconds and 4 git commands to generate.