X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/2a200c784da1c7d33f72e3b92425f029214f70a1..8f92e768311758bb5db1f6592a209d5eefbc40bb:/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 */