X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/0c9ca0e11ca290392e2747596b89d18db175af7e..b8b8501d70770465adc67d4effb4dbae2899f3a8:/zmalloc.h?ds=sidebyside diff --git a/zmalloc.h b/zmalloc.h index 9e70e877..193e7eda 100644 --- a/zmalloc.h +++ b/zmalloc.h @@ -1,6 +1,6 @@ /* zmalloc - total amount of allocated memory aware version of malloc() * - * Copyright (c) 2006-2009, Salvatore Sanfilippo + * Copyright (c) 2009-2010, Salvatore Sanfilippo * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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 */