projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add spsc
[cdsspec-compiler.git]
/
benchmark
/
spsc-bugfix
/
eventcount.h
diff --git
a/benchmark/spsc-bugfix/eventcount.h
b/benchmark/spsc-bugfix/eventcount.h
index aec3e8c9b216b9d71c9b561287d7d95828386f1a..b5d1c2fa25203f8918f056840e8a0b8c5c26c0c9 100644
(file)
--- a/
benchmark/spsc-bugfix/eventcount.h
+++ b/
benchmark/spsc-bugfix/eventcount.h
@@
-1,3
+1,6
@@
+#ifndef _EVENTCOUNT_H
+#define _EVENTCOUNT_H
+
#include <unrelacy.h>
#include <atomic>
#include <mutex>
@@
-67,3
+70,5
@@
private:
}
}
};
+
+#endif