summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-07-09 16:29:58 -0400
committerDwight <dmerriman@gmail.com>2008-07-09 16:29:58 -0400
commit017d3126bc6d701ef8662e806b8a0015e6f8b777 (patch)
tree7f3c554f745c2034d334f4c0dd95463bada1dcad /stdafx.h
parent7bb172c2af1c71c174c04d10feb30155667d506c (diff)
downloadmongo-017d3126bc6d701ef8662e806b8a0015e6f8b777.tar.gz
logging wasnt' threadsafe
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h1
1 files changed, 1 insertions, 0 deletions
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) {