#ifndef _HTTPINPUT_H
#define _HTTPINPUT_H 1
-#include <pthread.h>
#include <stddef.h>
+#include <mutex>
#include <string>
#include <vector>
int sock = -1;
// Mutex protecting <stats>.
- mutable pthread_mutex_t stats_mutex;
+ mutable std::mutex stats_mutex;
// The current statistics for this connection. Protected by <stats_mutex>.
InputStats stats;