Changeset 4efe2b7a in rtems for c/src/exec/itron/src/rsm_tsk.c


Ignore:
Timestamp:
11/16/99 22:47:23 (24 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0beded61
Parents:
0fa51b5b
Message:

Added check to return passed if task is not suspended.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.