zmalloc.c: remove thread safe mode, it's the default way.

This commit is contained in:
antirez
2017-05-09 16:59:51 +02:00
parent 9390c384b8
commit 6eb51bf1ec
3 changed files with 3 additions and 23 deletions

View File

@ -78,7 +78,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);
void zmalloc_set_oom_handler(void (*oom_handler)(size_t));
float zmalloc_get_fragmentation_ratio(size_t rss);
size_t zmalloc_get_rss(void);