Changeset 49a134d in rtems


Ignore:
Timestamp:
May 3, 2016, 7:59:06 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a0dee7c
Parents:
822ec58
git-author:
Sebastian Huber <sebastian.huber@…> (05/03/16 07:59:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/04/16 05:24:31)
Message:

rtems: Return status in _Event_Surrender()

Location:
cpukit/rtems
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/include/rtems/rtems/eventimpl.h

    r822ec58 r49a134d  
    5757);
    5858
    59 void _Event_Surrender(
     59rtems_status_code _Event_Surrender(
    6060  Thread_Control    *the_thread,
    6161  rtems_event_set    event_in,
  • cpukit/rtems/src/eventsend.c

    r822ec58 r49a134d  
    3838    case OBJECTS_LOCAL:
    3939      api = thread->API_Extensions[ THREAD_API_RTEMS ];
    40       _Event_Surrender(
     40      sc = _Event_Surrender(
    4141        thread,
    4242        event_in,
     
    4545        &lock_context
    4646      );
    47       sc = RTEMS_SUCCESSFUL;
    4847      break;
    4948#ifdef RTEMS_MULTIPROCESSING
  • cpukit/rtems/src/eventsurrender.c

    r822ec58 r49a134d  
    6666}
    6767
    68 void _Event_Surrender(
     68rtems_status_code _Event_Surrender(
    6969  Thread_Control    *the_thread,
    7070  rtems_event_set    event_in,
     
    129129    _Thread_Lock_release_default( the_thread, lock_context );
    130130  }
     131
     132  return RTEMS_SUCCESSFUL;
    131133}
  • cpukit/rtems/src/systemeventsend.c

    r822ec58 r49a134d  
    4444    case OBJECTS_LOCAL:
    4545      api = thread->API_Extensions[ THREAD_API_RTEMS ];
    46       _Event_Surrender(
     46      sc = _Event_Surrender(
    4747        thread,
    4848        event_in,
     
    5151        &lock_context
    5252      );
    53       sc = RTEMS_SUCCESSFUL;
    5453      break;
    5554#ifdef RTEMS_MULTIPROCESSING
Note: See TracChangeset for help on using the changeset viewer.