In the code of netwroking.c there are some place to use "while(1)" loop to wait for some condition.
for examlpe in function IOThreadMain there are such code.
while(1) {
/* Wait for start */
for (int j = 0; j < 1000000; j++) {
if (io_threads_pending[id] != 0) break;
}
Maybe these code will run like "tight loop".
Do we have have special perpose to do this?
Or we need further plan to enhance this ?
Comment From: antirez
Moved to #7239.