Lines Matching refs:thread_0
15 static TX_THREAD thread_0; variable
36 if (thread_ptr != &thread_0) in entry_exit_notify()
66 status = tx_thread_create(&thread_0, "thread 0", thread_0_entry, 1, in test_application_define()
72 status += tx_thread_entry_exit_notify(&thread_0, entry_exit_notify); in test_application_define()
165 if ((thread_0.tx_thread_state != TX_COMPLETED) || (thread_0_counter != 1) || in thread_1_entry()
191 status = tx_thread_reset(&thread_0); in thread_1_entry()
194 if ((thread_0.tx_thread_state != TX_SUSPENDED) || (thread_0_counter != 1) || in thread_1_entry()
208 status = tx_thread_terminate(&thread_0); in thread_1_entry()
209 status += tx_thread_reset(&thread_0); in thread_1_entry()
213 status += tx_thread_resume(&thread_0); in thread_1_entry()
217 if ((thread_0.tx_thread_state != TX_COMPLETED) || (thread_0_counter != 2) || in thread_1_entry()