1
0
mirror of https://github.com/fluencelabs/redis synced 2025-06-21 13:01:32 +00:00

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

@ -3673,7 +3673,6 @@ int main(int argc, char **argv) {
spt_init(argc, argv);
#endif
setlocale(LC_COLLATE,"");
zmalloc_enable_thread_safeness();
zmalloc_set_oom_handler(redisOutOfMemoryHandler);
srand(time(NULL)^getpid());
gettimeofday(&tv,NULL);