X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=conditionvariable.cc;h=75af879ff63cf53e2c5675e6bc6a120f67d06782;hb=130a35155171503883aaf18e57f8957ce63d06e8;hp=ce33e8084f3908b181f5378f0e9565c5d6c2ad45;hpb=d1b0d38c3fb2f0466f9af35b0b859e51978c4859;p=model-checker.git diff --git a/conditionvariable.cc b/conditionvariable.cc index ce33e80..75af879 100644 --- a/conditionvariable.cc +++ b/conditionvariable.cc @@ -1,7 +1,7 @@ #include #include "model.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)); }