diff options
author | David Robillard <d@drobilla.net> | 2011-05-18 15:52:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-18 15:52:39 +0000 |
commit | 7bd4febfdb799cd359a380d23640654f476dadae (patch) | |
tree | 7acf0526548382e3768b45628a47f094120b7724 /test/queue_test.cpp | |
parent | 3a1a098d7d41468a74862777d3085f537fb6b894 (diff) | |
download | raul-7bd4febfdb799cd359a380d23640654f476dadae.tar.gz raul-7bd4febfdb799cd359a380d23640654f476dadae.tar.bz2 raul-7bd4febfdb799cd359a380d23640654f476dadae.zip |
Strip double blank lines.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@3279 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/queue_test.cpp')
-rw-r--r-- | test/queue_test.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/queue_test.cpp b/test/queue_test.cpp index 5c2209b..195f763 100644 --- a/test/queue_test.cpp +++ b/test/queue_test.cpp @@ -27,7 +27,6 @@ struct Record { Record data[NUM_DATA]; - // Actions pumped through the queue to manipulate data struct WriteAction { WriteAction(unsigned idx) : index(idx) {} @@ -39,11 +38,9 @@ struct WriteAction { unsigned index; }; - // The victim SRMWQueue<WriteAction> queue(QUEUE_SIZE); - class WriteThread : public Thread { protected: void _run() { @@ -67,7 +64,6 @@ protected: } }; - // Returns 0 if all read count/write count pairs are equal, // otherwise how far off total count was unsigned @@ -82,7 +78,6 @@ data_is_sane() return ret; } - void dump_data() { @@ -96,7 +91,6 @@ dump_data() } } - int main() { @@ -177,7 +171,6 @@ main() if (leftovers > 0) cout << "Processed " << leftovers << " leftovers." << endl; - //cout << "\n\n*********************************************\n\n"; cout << "Total processed: " << total_processed << endl; @@ -186,7 +179,6 @@ main() else cout << "(Counter did NOT have to wrap)" << endl; - const unsigned diff = data_is_sane(); if (diff == 0) { @@ -201,7 +193,6 @@ main() return 0; } - #if 0 int main() { |