mirror of https://mirror.osredm.com/root/redis.git
Threaded IO: hide more debugging printfs under conditional.
This commit is contained in:
parent
9814b2a5f3
commit
74591fb5bd
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue