From 017d3126bc6d701ef8662e806b8a0015e6f8b777 Mon Sep 17 00:00:00 2001 From: Dwight Date: Wed, 9 Jul 2008 16:29:58 -0400 Subject: logging wasnt' threadsafe --- stdafx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'stdafx.h') diff --git a/stdafx.h b/stdafx.h index eb9d75adbf9..8ff133a8eba 100644 --- a/stdafx.h +++ b/stdafx.h @@ -110,6 +110,7 @@ extern const char *curNs; extern unsigned occasion; #define OCCASIONALLY if( ++occasion % 16 == 0 ) +#define RARELY if( ++occasion % 128 == 0 ) #if defined(_WIN32) inline void our_debug_free(void *p) { -- cgit v1.2.1