X-Git-Url: http://plrg.eecs.uci.edu/git/?p=model-checker.git;a=blobdiff_plain;f=conditionvariable.cc;h=75af879ff63cf53e2c5675e6bc6a120f67d06782;hp=5bd0beb3cd7e2e0c8c0819dc5c20bc18588784a7;hb=7ee05d0cce29addaf73326e0eeac08bc7eb39e79;hpb=55eb20c50ec656d385fb6e94c01aea55e9514917 diff --git a/conditionvariable.cc b/conditionvariable.cc index 5bd0beb..75af879 100644 --- a/conditionvariable.cc +++ b/conditionvariable.cc @@ -1,7 +1,7 @@ #include #include "model.h" -#include "conditionvariable.h" - +#include +#include "action.h" namespace std { @@ -9,6 +9,10 @@ condition_variable::condition_variable() { } +condition_variable::~condition_variable() { + +} + void condition_variable::notify_one() { model->switch_to_master(new ModelAction(ATOMIC_NOTIFY_ONE, std::memory_order_seq_cst, this)); }