From f85d2132f7b0567de423e76404f3528ae7aba205 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 11 Oct 2012 11:24:11 -0700 Subject: [PATCH] spsc-queue: use std::condition_variable Model-checker doesn't support header yet. --- spsc-queue/eventcount.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.34.1