summaryrefslogtreecommitdiff
path: root/src/SpinBarrier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/SpinBarrier.cpp')
-rw-r--r--src/SpinBarrier.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/SpinBarrier.cpp b/src/SpinBarrier.cpp
index d89e7c3..5ff5ce1 100644
--- a/src/SpinBarrier.cpp
+++ b/src/SpinBarrier.cpp
@@ -21,11 +21,22 @@
* void barrier() *
* *
******************************************************************************/
-#include <stdio.h>
-#include <pthread.h>
+//
+// Configuration
+//
+
+// Implementation header
#include "SpinBarrier.h"
+// System includes
+#include <cstdio>
+
+
+//
+// Implementation
+//
+
// create a new barrier
SpinBarrier::SpinBarrier(int participants) :
limit(participants) {