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 b338f2b908
commit a864d25c6e
3 changed files with 3 additions and 23 deletions

View File

@ -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);