Commit 7feb90fa authored by antirez's avatar antirez
Browse files

enable zmalloc thread safety support now that we have the bio.c background thread.

parent e0ba1455
...@@ -1729,6 +1729,7 @@ void redisAsciiArt(void) { ...@@ -1729,6 +1729,7 @@ void redisAsciiArt(void) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
long long start; long long start;
zmalloc_enable_thread_safeness();
initServerConfig(); initServerConfig();
if (argc == 2) { if (argc == 2) {
if (strcmp(argv[1], "-v") == 0 || if (strcmp(argv[1], "-v") == 0 ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment