X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker-benchmarks.git;a=blobdiff_plain;f=spsc-queue%2Feventcount.h;h=4390cc5b0e3737c58c1087e6825dbf5ffbd2d4bd;hp=bf1f511a7fb3ec4249a2400b6c6ab8640448bacd;hb=f85d2132f7b0567de423e76404f3528ae7aba205;hpb=6c65f26591800fb20e37ba2a82fb659be07c7d22 diff --git a/spsc-queue/eventcount.h b/spsc-queue/eventcount.h index bf1f511..4390cc5 100644 --- a/spsc-queue/eventcount.h +++ b/spsc-queue/eventcount.h @@ -1,6 +1,7 @@ #include #include #include +#include class eventcount { @@ -49,7 +50,7 @@ private: std::atomic count; rl::var waiters; std::mutex guard; - condition_variable_any cv; + std::condition_variable_any cv; void signal_impl(unsigned cmp) {