1 Year Ago
Sleep network thread when read queue is at capacity and write queue is empty (i.e. we're waiting for the main thread to catch up with us)