mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Added nesting count for suspend/resume.
This commit is contained in:
@@ -373,7 +373,7 @@ void complete_test( void )
|
||||
rtems_id task_id;
|
||||
|
||||
Timer_initialize();
|
||||
_Thread_Resume( Middle_tcb );
|
||||
_Thread_Resume( Middle_tcb, TRUE );
|
||||
thread_resume_time = Read_timer();
|
||||
|
||||
_Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE );
|
||||
|
||||
@@ -373,7 +373,7 @@ void complete_test( void )
|
||||
rtems_id task_id;
|
||||
|
||||
Timer_initialize();
|
||||
_Thread_Resume( Middle_tcb );
|
||||
_Thread_Resume( Middle_tcb, TRUE );
|
||||
thread_resume_time = Read_timer();
|
||||
|
||||
_Thread_Set_state( Middle_tcb, STATES_WAITING_FOR_MESSAGE );
|
||||
|
||||
Reference in New Issue
Block a user