Commit d109bd09 by Christian Kern

Fixed more cpplint warnings

parent 6cea87d5
...@@ -59,7 +59,7 @@ void IdPoolTest::TestParallelPost() { ...@@ -59,7 +59,7 @@ void IdPoolTest::TestParallelPost() {
// elements sequentially. // elements sequentially.
TestAllocateDeallocateNElementsFromPool(id_pool_parallel, TestAllocateDeallocateNElementsFromPool(id_pool_parallel,
concurrent_accessors_id_pool_2*id_elements_per_accessor, true); concurrent_accessors_id_pool_2*id_elements_per_accessor, true);
// finalize pool // finalize pool
embb_mtapi_id_pool_finalize(&id_pool_parallel); embb_mtapi_id_pool_finalize(&id_pool_parallel);
} }
......
...@@ -44,7 +44,7 @@ class IdPoolTest : public partest::TestCase { ...@@ -44,7 +44,7 @@ class IdPoolTest : public partest::TestCase {
static const unsigned int id_pool_size_1 = 100; static const unsigned int id_pool_size_1 = 100;
static const unsigned int concurrent_accessors_id_pool_2 = 10; static const unsigned int concurrent_accessors_id_pool_2 = 10;
static const unsigned int id_elements_per_accessor = 10; static const unsigned int id_elements_per_accessor = 10;
/** /**
* We create a pool of size number_accessors*elements_per_accessor, so * We create a pool of size number_accessors*elements_per_accessor, so
* at each time we can guarantee each thread to be able to allocate * at each time we can guarantee each thread to be able to allocate
......
...@@ -52,6 +52,6 @@ PT_MAIN("MTAPI C") { ...@@ -52,6 +52,6 @@ PT_MAIN("MTAPI C") {
PT_RUN(GroupTest); PT_RUN(GroupTest);
PT_RUN(QueueTest); PT_RUN(QueueTest);
PT_RUN(IdPoolTest); PT_RUN(IdPoolTest);
PT_EXPECT(embb_get_bytes_allocated() == 0); PT_EXPECT(embb_get_bytes_allocated() == 0);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment