Changeset: 92c439122cc7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=92c439122cc7
Modified Files:
gdk/gdk_heap.c
Branch: Feb2013
Log Message:
Add hook to turn off heap cache at compile time.
Just define HEAP_CACHE_SIZE as 0.
diffs (19 lines):
diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -84,6 +84,7 @@ static MT_Lock HEAPcacheLock;
void
HEAPcacheInit(void)
{
+#if HEAP_CACHE_SIZE > 0
if (!hc) {
int i;
@@ -103,6 +104,7 @@ HEAPcacheInit(void)
}
MT_lock_unset(&HEAPcacheLock, "HEAPcache_init");
}
+#endif
}
static int
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list