7 // A thread that regularly writes out statistics, ie. a list of all connected clients
8 // with some information about each.
12 StatsThread(const std::string &stats_file, int stats_interval);
17 // Recover the this pointer, and call do_work().
18 static void *do_work_thunk(void *arg);
22 std::string stats_file;
25 pthread_t worker_thread;
26 volatile bool should_stop;
29 #endif // !defined(_STATS_H)