Changeset e672263 in rtems
- Timestamp:
- 11/15/99 21:28:21 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1ae60eb4
- Parents:
- 06380cfe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/tests/itrontests/itrontask04/init.c
r06380cfe re672263 52 52 puts("INIT - dis_dsp while starting tasks"); 53 53 status = dis_dsp( ); 54 directive_failed( status, "dis_dsp from ITRON_Init" ); 54 55 /* dispatching disabled */ 56 57 directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 ); 55 58 status = sta_tsk( TA1_ID, 0 ); 56 directive_failed ( status, "sta_tsk of TA1");59 directive_failed_with_level( status, "sta_tsk of TA1", 1 ); 57 60 status = sta_tsk( TA2_ID, 0 ); 58 directive_failed ( status, "sta_tsk of TA2");61 directive_failed_with_level( status, "sta_tsk of TA2", 1 ); 59 62 status = sta_tsk( TA3_ID, 0 ); 60 directive_failed ( status, "sta_tsk of TA3");63 directive_failed_with_level( status, "sta_tsk of TA3", 1 ); 61 64 62 65 puts( "INIT - suspending TA2 3 times" ); 63 66 status = sus_tsk( TA2_ID ); 64 directive_failed ( status, "sus_tsk of TA2");67 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 65 68 status = sus_tsk( TA2_ID ); 66 directive_failed ( status, "sus_tsk of TA2");69 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 67 70 status = sus_tsk( TA2_ID ); 68 directive_failed ( status, "sus_tsk of TA2");71 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 69 72 70 73 puts("INIT - ena_dsp while starting tasks"); 71 74 status = ena_dsp( ); 75 76 /* dispatching enabled again */ 72 77 73 78 puts( "INIT - suspending TA1 3 times" ); -
testsuites/itrontests/itrontask04/init.c
r06380cfe re672263 52 52 puts("INIT - dis_dsp while starting tasks"); 53 53 status = dis_dsp( ); 54 directive_failed( status, "dis_dsp from ITRON_Init" ); 54 55 /* dispatching disabled */ 56 57 directive_failed_with_level( status, "dis_dsp from ITRON_Init", 1 ); 55 58 status = sta_tsk( TA1_ID, 0 ); 56 directive_failed ( status, "sta_tsk of TA1");59 directive_failed_with_level( status, "sta_tsk of TA1", 1 ); 57 60 status = sta_tsk( TA2_ID, 0 ); 58 directive_failed ( status, "sta_tsk of TA2");61 directive_failed_with_level( status, "sta_tsk of TA2", 1 ); 59 62 status = sta_tsk( TA3_ID, 0 ); 60 directive_failed ( status, "sta_tsk of TA3");63 directive_failed_with_level( status, "sta_tsk of TA3", 1 ); 61 64 62 65 puts( "INIT - suspending TA2 3 times" ); 63 66 status = sus_tsk( TA2_ID ); 64 directive_failed ( status, "sus_tsk of TA2");67 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 65 68 status = sus_tsk( TA2_ID ); 66 directive_failed ( status, "sus_tsk of TA2");69 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 67 70 status = sus_tsk( TA2_ID ); 68 directive_failed ( status, "sus_tsk of TA2");71 directive_failed_with_level( status, "sus_tsk of TA2", 1 ); 69 72 70 73 puts("INIT - ena_dsp while starting tasks"); 71 74 status = ena_dsp( ); 75 76 /* dispatching enabled again */ 72 77 73 78 puts( "INIT - suspending TA1 3 times" );
Note: See TracChangeset
for help on using the changeset viewer.