X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/0c9ca0e11ca290392e2747596b89d18db175af7e..bcfb387694534aa5f2f8ffb3cc12ea6a5f55b092:/zmalloc.h 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 */