Commit 74591fb5 authored by antirez's avatar antirez
Browse files

Threaded IO: hide more debugging printfs under conditional.

parent 9814b2a5
......@@ -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++)
......
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