summaryrefslogtreecommitdiff
path: root/src/SpinBarrier.h
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-11-02 09:13:38 +0100
committerTim Besard <tim.besard@gmail.com>2011-11-02 09:13:38 +0100
commitc108197c20aa7b93849e383a3aaaf7b2bba30405 (patch)
treef05aa2ff019892dfc936ad2242d43373191f16cd /src/SpinBarrier.h
parenteb6995fb5a0f4382cb4a01d301423e74ea8babe6 (diff)
Formatting the source.
Diffstat (limited to 'src/SpinBarrier.h')
-rw-r--r--src/SpinBarrier.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/SpinBarrier.h b/src/SpinBarrier.h
index f0b76d3..4ab3242 100644
--- a/src/SpinBarrier.h
+++ b/src/SpinBarrier.h
@@ -9,7 +9,6 @@
* Douglas M. Pase - initial API and implementation *
*******************************************************************************/
-
/******************************************************************************
* *
* SpinBarrier *
@@ -31,14 +30,14 @@
class SpinBarrier {
public:
- SpinBarrier(int participants);
- ~SpinBarrier();
+ SpinBarrier(int participants);
+ ~SpinBarrier();
- void barrier();
+ void barrier();
private:
- int limit; // number of barrier participants
- pthread_barrier_t barrier_obj;
+ int limit; // number of barrier participants
+ pthread_barrier_t barrier_obj;
};
#endif