Added nesting count for suspend/resume.

This commit is contained in:
Joel Sherrill
1999-11-09 23:10:48 +00:00
parent 70e9af9233
commit 3d67661f9d
2 changed files with 2 additions and 2 deletions

View File

@@ -373,7 +373,7 @@ void complete_test( void )
rtems_id task_id; rtems_id task_id;
Timer_initialize(); Timer_initialize();
_Thread_Resume( Middle_tcb ); _Thread_Resume( Middle_tcb, TRUE );
thread_resume_time = Read_timer(); thread_resume_time = Read_timer();
_Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE ); _Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE );

View File

@@ -373,7 +373,7 @@ void complete_test( void )
rtems_id task_id; rtems_id task_id;
Timer_initialize(); Timer_initialize();
_Thread_Resume( Middle_tcb ); _Thread_Resume( Middle_tcb, TRUE );
thread_resume_time = Read_timer(); thread_resume_time = Read_timer();
_Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE ); _Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE );