// See put_client_to_sleep() and wake_up_all_clients().
std::vector<Client *> sleeping_clients;
+ // Clients that we recently got data for (when they were in
+ // <sleeping_clients>).
+ std::vector<Client *> to_process;
+
// Recover the this pointer, and call do_work().
static void *do_work_thunk(void *arg);