projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add destructor so the spsc-queue will compile on MAC
[model-checker.git]
/
conditionvariable.cc
diff --git
a/conditionvariable.cc
b/conditionvariable.cc
index
f79cf2a
..
75af879
100644
(file)
--- a/
conditionvariable.cc
+++ b/
conditionvariable.cc
@@
-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));
}