Remove the need of helgrind/drd suppression

Using a mutex for protectign the global memory counter
should not affect performance.
This commit is contained in:
Andrea Mazzoleni 2015-12-31 15:21:50 +01:00
parent b059457190
commit 7ad70c26f8
7 changed files with 45 additions and 24 deletions

View file

@ -249,7 +249,7 @@ int fmtime(int f, int64_t mtime_sec, int mtime_nsec);
/**
* Return the size of the allocated memory.
*/
size_t malloc_counter(void);
size_t malloc_counter_get(void);
/**
* Safe malloc.