Searched refs:QUEUE_SLOTS (Results 1 – 3 of 3) sorted by relevance
37 const unsigned int QUEUE_SLOTS = 10; variable38 const unsigned int THREAD_NUM = QUEUE_SLOTS + 1;64 SafeBlockQueue<int> DemoThreadData::shareQueue(QUEUE_SLOTS);171 ASSERT_EQ(pushedIn, QUEUE_SLOTS);172 ASSERT_EQ(unpushedIn, THREAD_NUM - QUEUE_SLOTS);175 for (unsigned int i = 0; i < THREAD_NUM - QUEUE_SLOTS; i++) {185 ASSERT_EQ(getedOut, THREAD_NUM - QUEUE_SLOTS);232 ASSERT_EQ(pushedIn, QUEUE_SLOTS);233 ASSERT_EQ(unpushedIn, THREAD_NUM - QUEUE_SLOTS);236 for (unsigned int i = 0; i < THREAD_NUM - QUEUE_SLOTS; i++) {[all …]
31 const unsigned int QUEUE_SLOTS = 10; variable32 const unsigned int THREAD_NUM = QUEUE_SLOTS + 1;74 SafeBlockQueueTracking<int> DemoThreadData::shareQueue(QUEUE_SLOTS);241 ASSERT_EQ(pushedIn, QUEUE_SLOTS);242 ASSERT_EQ(unpushedIn, THREAD_NUM - QUEUE_SLOTS);245 for (unsigned int i = 0; i < THREAD_NUM - QUEUE_SLOTS; i++) {256 ASSERT_EQ(getedOut, THREAD_NUM - QUEUE_SLOTS);289 for (unsigned int i = 0; i < QUEUE_SLOTS; i++) {414 for (unsigned int i = 0; i < QUEUE_SLOTS; i++) {441 ASSERT_EQ(getedOut, QUEUE_SLOTS);[all …]
32 const unsigned int QUEUE_SLOTS = 10; variable33 const unsigned int THREAD_NUM = QUEUE_SLOTS + 1;