Comment From: madolson

handleClientsWithPendingWritesUsingThreads is the common method that is executed before doing any writes. The name might be a bit misleading, but it may also do writes without using any IO threads. So, it is responsible for checking if IO threads should be used.

Comment From: madolson

Closing, let me know if this needs any further clarification.