summaryrefslogtreecommitdiff
path: root/src/SpinBarrier.h
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-11-02 15:11:59 +0100
committerTim Besard <tim.besard@gmail.com>2011-11-02 15:11:59 +0100
commitf9531223b72f8337b8d774c9e3a0d0b0f9ffcc7b (patch)
tree6942ff464682600061fde704ed13b50048fcc7d2 /src/SpinBarrier.h
parentba67ca081a78a9dd6fb5f36f8d2bc2dea0f5224a (diff)
Cleaning up a bit.
Diffstat (limited to 'src/SpinBarrier.h')
-rw-r--r--src/SpinBarrier.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/SpinBarrier.h b/src/SpinBarrier.h
index 4ab3242..a329f7c 100644
--- a/src/SpinBarrier.h
+++ b/src/SpinBarrier.h
@@ -23,11 +23,18 @@
* *
******************************************************************************/
+// Include guard
#if !defined( SpinBarrier_h )
#define SpinBarrier_h
+// System includes
#include <pthread.h>
+
+//
+// Class definition
+//
+
class SpinBarrier {
public:
SpinBarrier(int participants);