YAPOR: lock memory allocation under YAPOR/dlmalloc

This commit is contained in:
vsc
2010-02-03 22:54:47 +00:00
parent eb6ac94e45
commit f8070bdd59
6 changed files with 60 additions and 0 deletions

View File

@@ -51,6 +51,9 @@
#if USE_DL_MALLOC
#if defined(YAPOR) || defined(THREADS)
REINIT_LOCK(Yap_heap_regs->dlmalloc_lock);
#endif
#endif
#if USE_DL_MALLOC || (USE_SYSTEM_MALLOC && HAVE_MALLINFO)
#ifndef HeapUsed