Changeset 58243b4 in rtems


Ignore:
Timestamp:
Jan 5, 2000, 5:18:08 PM (21 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
466b8882
Parents:
65800393
Message:

+ Added return of the message priority.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/src/coremsgseize.c

    r65800393 r58243b4  
    5757
    5858void _CORE_message_queue_Seize(
    59   CORE_message_queue_Control *the_message_queue,
    60   Objects_Id                  id,
    61   void                       *buffer,
    62   unsigned32                 *size,
    63   boolean                     wait,
    64   Watchdog_Interval           timeout
     59  CORE_message_queue_Control      *the_message_queue,
     60  Objects_Id                       id,
     61  void                            *buffer,
     62  unsigned32                      *size,
     63  boolean                          wait,
     64  CORE_message_queue_Submit_types *priority,
     65  Watchdog_Interval                timeout
    6566)
    6667{
     
    7879    _ISR_Enable( level );
    7980    *size = the_message->Contents.size;
     81    *priority = the_message->priority;
    8082    _CORE_message_queue_Copy_buffer(the_message->Contents.buffer,buffer,*size );
    8183    _CORE_message_queue_Free_message_buffer(the_message_queue, the_message );
  • cpukit/score/src/coremsgseize.c

    r65800393 r58243b4  
    5757
    5858void _CORE_message_queue_Seize(
    59   CORE_message_queue_Control *the_message_queue,
    60   Objects_Id                  id,
    61   void                       *buffer,
    62   unsigned32                 *size,
    63   boolean                     wait,
    64   Watchdog_Interval           timeout
     59  CORE_message_queue_Control      *the_message_queue,
     60  Objects_Id                       id,
     61  void                            *buffer,
     62  unsigned32                      *size,
     63  boolean                          wait,
     64  CORE_message_queue_Submit_types *priority,
     65  Watchdog_Interval                timeout
    6566)
    6667{
     
    7879    _ISR_Enable( level );
    7980    *size = the_message->Contents.size;
     81    *priority = the_message->priority;
    8082    _CORE_message_queue_Copy_buffer(the_message->Contents.buffer,buffer,*size );
    8183    _CORE_message_queue_Free_message_buffer(the_message_queue, the_message );
Note: See TracChangeset for help on using the changeset viewer.