X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/092dac2a64f912fe67be2e924c58979b200aa64b..0f3dfa87bc8870c1da6867b7e2d9d70f7e21fc93:/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 */