Merge branch '0.4.x' into 0.5.x

Conflicts:
	doc/release-process.txt
	src/serialize.h
This commit is contained in:
Luke Dashjr
2012-06-14 18:07:11 +00:00
7 changed files with 9 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ namespace boost {
#include <boost/interprocess/sync/interprocess_mutex.hpp>
#include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
using namespace std;
using namespace boost;
@@ -193,6 +194,8 @@ inline int OutputDebugStringF(const char* pszFormat, ...)
if (fileout)
{
static bool fStartedNewLine = true;
static boost::mutex mutexDebugLog;
boost::mutex::scoped_lock scoped_lock(mutexDebugLog);
// Debug print useful for profiling
if (fLogTimestamps && fStartedNewLine)