thread safe zmalloc used memory counter

This commit is contained in:
antirez
2010-01-15 08:52:20 -05:00
parent b04a5df979
commit 4ad37480f3
3 changed files with 43 additions and 9 deletions

View File

@ -36,5 +36,6 @@ void *zrealloc(void *ptr, size_t size);
void zfree(void *ptr);
char *zstrdup(const char *s);
size_t zmalloc_used_memory(void);
void zmalloc_enable_thread_safeness(void);
#endif /* _ZMALLOC_H */