X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=stream.h;h=17df7f35dade3fc17b577e481031af24ffe2eb8c;hp=6c757a19ff29224f1049c2fc8554d4c24f36af0a;hb=50651c954803c1941e6ad1bb494712891c18f7d2;hpb=f0621e41fdb96ce1bd58e7561e0aa76345072ba3 diff --git a/stream.h b/stream.h index 6c757a1..17df7f3 100644 --- a/stream.h +++ b/stream.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include @@ -32,7 +33,7 @@ struct Stream { // Mutex protecting and . // Note that if you want to hold both this and the owning server's // you will need to take before this one. - mutable pthread_mutex_t queued_data_mutex; + mutable std::mutex queued_data_mutex; std::string url;