Home
last modified time | relevance | path

Searched refs:n_pushed (Results 1 – 1 of 1) sorted by relevance

/oneTBB/test/conformance/
H A Dconformance_concurrent_queue.cpp843 int n_pushed=0, n_popped=0; in TestExceptionBody() local
859 n_pushed++; in TestExceptionBody()
864 for( int k=0; k<n_pushed; k++ ) { in TestExceptionBody()
869 n_pushed = 0; in TestExceptionBody()
879 … REQUIRE_MESSAGE(ptrdiff_t(queue_test.size())==n_pushed, "incorrect queue size"); in TestExceptionBody()
882 n_pushed++; in TestExceptionBody()
886 n_pushed -= (n_popped+1); // including one that threw the exception in TestExceptionBody()
887 REQUIRE_MESSAGE(n_pushed>=0, "n_pushed cannot be less than 0"); in TestExceptionBody()
890 n_pushed++; in TestExceptionBody()
893 … REQUIRE_MESSAGE(ptrdiff_t(queue_test.size())==n_pushed, "queue size must be equal to n pushed"); in TestExceptionBody()
[all …]