#include <sys/types.h>
#include <sys/uio.h>
#include <deque>
+#include <mutex>
#include <string>
#include <vector>
// Mutex protecting <queued_data> and <queued_data_last_starting_point>.
// Note that if you want to hold both this and the owning server's
// <mutex> you will need to take <mutex> before this one.
- mutable pthread_mutex_t queued_data_mutex;
+ mutable std::mutex queued_data_mutex;
std::string url;