Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7feb90fa
Commit
7feb90fa
authored
Sep 14, 2011
by
antirez
Browse files
enable zmalloc thread safety support now that we have the bio.c background thread.
parent
e0ba1455
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
7feb90fa
...
@@ -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
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment