Changeset 3971537 in rtems
- Timestamp:
- 11/12/99 21:20:04 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 2979c28
- Parents:
- 037a7b1
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/itron/src/rel_wai.c
r037a7b1 r3971537 29 29 30 30 the_thread = _ITRON_Task_Get( tskid, &location ); 31 if (!the_thread)32 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );33 34 _Thread_Disable_dispatch();35 36 31 switch ( location ) { 37 32 case OBJECTS_REMOTE: 38 33 case OBJECTS_ERROR: 39 _Thread_Enable_dispatch(); 40 return _ITRON_Task_Clarify_get_id_error( tskid ); 34 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) ); 41 35 42 36 case OBJECTS_LOCAL: -
c/src/exec/itron/src/rsm_tsk.c
r037a7b1 r3971537 30 30 31 31 the_thread = _ITRON_Task_Get( tskid, &location ); 32 33 if (!the_thread)34 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );35 36 if ( the_thread == _Thread_Executing )37 _ITRON_return_errorno( E_OBJ );38 39 if (_States_Is_dormant( the_thread->current_state ))40 _ITRON_return_errorno( E_OBJ );41 42 32 switch ( location ) { 43 33 case OBJECTS_REMOTE: … … 46 36 47 37 case OBJECTS_LOCAL: 38 39 if ( _Thread_Is_executing( the_thread ) ) 40 _ITRON_return_errorno( E_OBJ ); 41 42 if ( _States_Is_dormant( the_thread->current_state )) 43 _ITRON_return_errorno( E_OBJ ); 44 48 45 _Thread_Resume( the_thread, FALSE ); 49 46 _Thread_Enable_dispatch(); -
cpukit/itron/src/rel_wai.c
r037a7b1 r3971537 29 29 30 30 the_thread = _ITRON_Task_Get( tskid, &location ); 31 if (!the_thread)32 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );33 34 _Thread_Disable_dispatch();35 36 31 switch ( location ) { 37 32 case OBJECTS_REMOTE: 38 33 case OBJECTS_ERROR: 39 _Thread_Enable_dispatch(); 40 return _ITRON_Task_Clarify_get_id_error( tskid ); 34 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) ); 41 35 42 36 case OBJECTS_LOCAL: -
cpukit/itron/src/rsm_tsk.c
r037a7b1 r3971537 30 30 31 31 the_thread = _ITRON_Task_Get( tskid, &location ); 32 33 if (!the_thread)34 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) );35 36 if ( the_thread == _Thread_Executing )37 _ITRON_return_errorno( E_OBJ );38 39 if (_States_Is_dormant( the_thread->current_state ))40 _ITRON_return_errorno( E_OBJ );41 42 32 switch ( location ) { 43 33 case OBJECTS_REMOTE: … … 46 36 47 37 case OBJECTS_LOCAL: 38 39 if ( _Thread_Is_executing( the_thread ) ) 40 _ITRON_return_errorno( E_OBJ ); 41 42 if ( _States_Is_dormant( the_thread->current_state )) 43 _ITRON_return_errorno( E_OBJ ); 44 48 45 _Thread_Resume( the_thread, FALSE ); 49 46 _Thread_Enable_dispatch();
Note: See TracChangeset
for help on using the changeset viewer.