Searched refs:first_state (Results 1 – 2 of 2) sorted by relevance
115 thread_state* first_state = &m_thread1_state; in run() local117 if (second_state->m_wakeup_time < first_state->m_wakeup_time) in run()118 std::swap(first_state, second_state); in run()122 if ((first_state->m_wakeup_time - start_time) < chrono::milliseconds(200)) in run()124 …d woke up too soon: " << chrono::duration_cast< chrono::milliseconds >(first_state->m_wakeup_time … in run()128 if ((first_state->m_wakeup_time - start_time) >= chrono::milliseconds(400)) in run()130 …d woke up too late: " << chrono::duration_cast< chrono::milliseconds >(first_state->m_wakeup_time … in run()140 BOOST_TEST_EQ(first_state->m_received_value, m_value2); in run()146 …BOOST_TEST(first_state->m_received_value == m_value2 || first_state->m_received_value == m_value3); in run()
112 thread_state* first_state = &m_thread1_state; in run() local114 if (second_state->m_wakeup_time < first_state->m_wakeup_time) in run()115 std::swap(first_state, second_state); in run()117 if ((first_state->m_wakeup_time - start_time) < chrono::milliseconds(200)) in run()119 …d woke up too soon: " << chrono::duration_cast< chrono::milliseconds >(first_state->m_wakeup_time … in run()123 if ((first_state->m_wakeup_time - start_time) >= chrono::milliseconds(400)) in run()125 …d woke up too late: " << chrono::duration_cast< chrono::milliseconds >(first_state->m_wakeup_time … in run()135 BOOST_TEST_EQ(first_state->m_received_value, m_value2); in run()