Changeset d8f3f65b in rtems for c/src/exec/itron/src/ter_tsk.c
- Timestamp:
- 11/12/99 21:23:34 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8ed3125d
- Parents:
- 2979c28
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/itron/src/ter_tsk.c
r2979c28 rd8f3f65b 31 31 the_thread = _ITRON_Task_Get( tskid, &location ); 32 32 33 if ( !the_thread)33 if ( location != OBJECTS_LOCAL ) 34 34 _ITRON_return_errorno( _ITRON_Task_Clarify_get_id_error( tskid ) ); 35 35 36 if ( the_thread == _Thread_Executing)36 if ( _Thread_Is_executing( the_thread ) ) 37 37 _ITRON_return_errorno( E_OBJ ); 38 38 … … 43 43 _Thread_Set_state( the_thread, STATES_DORMANT ); 44 44 45 _Thread_Enable_dispatch(); 46 return E_OK; 45 _ITRON_return_errorno( E_OK ); 47 46 } 48 47
Note: See TracChangeset
for help on using the changeset viewer.