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
74591fb5
Commit
74591fb5
authored
Mar 27, 2019
by
antirez
Browse files
Threaded IO: hide more debugging printfs under conditional.
parent
9814b2a5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/networking.c
View file @
74591fb5
...
...
@@ -2547,7 +2547,7 @@ void initThreadedIO(void) {
}
void startThreadedIO(void) {
printf
(
"S"
);
fflush
(
stdout
);
if (tio_debug)
printf("S"); fflush(stdout);
if (tio_debug) printf("--- STARTING THREADED IO ---\n");
serverAssert(io_threads_active == 0);
for (int j = 0; j < server.io_threads_num; j++)
...
...
@@ -2556,7 +2556,7 @@ void startThreadedIO(void) {
}
void stopThreadedIO(void) {
printf
(
"E"
);
fflush
(
stdout
);
if (tio_debug)
printf("E"); fflush(stdout);
if (tio_debug) printf("--- STOPPING THREADED IO ---\n");
serverAssert(io_threads_active == 1);
for (int j = 0; j < server.io_threads_num; j++)
...
...
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