Changeset 4efe2b7a in rtems


Ignore:
Timestamp:
Nov 16, 1999, 10:47:23 PM (20 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0beded61
Parents:
0fa51b5b
Message:

Added check to return passed if task is not suspended.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/itron/src/frsm_tsk.c

    r0fa51b5b r4efe2b7a  
    4242        _ITRON_return_errorno( E_OBJ );
    4343   
     44      if ( ! _States_Is_suspended(the_thread->current_state) )
     45        _ITRON_return_errorno( E_OK );
     46
    4447      _Thread_Resume( the_thread, TRUE );
    4548      break;
  • c/src/exec/itron/src/rsm_tsk.c

    r0fa51b5b r4efe2b7a  
    4242      if ( _States_Is_dormant( the_thread->current_state ))
    4343        _ITRON_return_errorno( E_OBJ );
    44    
     44
     45      if ( ! _States_Is_suspended(the_thread->current_state) )
     46        _ITRON_return_errorno( E_OK );
     47
    4548      _Thread_Resume( the_thread, FALSE );
    4649      break;
  • cpukit/itron/src/frsm_tsk.c

    r0fa51b5b r4efe2b7a  
    4242        _ITRON_return_errorno( E_OBJ );
    4343   
     44      if ( ! _States_Is_suspended(the_thread->current_state) )
     45        _ITRON_return_errorno( E_OK );
     46
    4447      _Thread_Resume( the_thread, TRUE );
    4548      break;
  • cpukit/itron/src/rsm_tsk.c

    r0fa51b5b r4efe2b7a  
    4242      if ( _States_Is_dormant( the_thread->current_state ))
    4343        _ITRON_return_errorno( E_OBJ );
    44    
     44
     45      if ( ! _States_Is_suspended(the_thread->current_state) )
     46        _ITRON_return_errorno( E_OK );
     47
    4548      _Thread_Resume( the_thread, FALSE );
    4649      break;
Note: See TracChangeset for help on using the changeset viewer.