Changeset 3d83ae5 in rtems


Ignore:
Timestamp:
Nov 28, 2011, 4:36:31 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10
Children:
2fc9706a
Parents:
9981ef0
Message:

2011-11-28 Werner Almesberger <werner@…>

PR 1961/cpukit

  • score/src/coremsgsubmit.c: Close window caused by using message pending count rather than directly obtaining unused buffer.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r9981ef0 r3d83ae5  
     12011-11-28      Werner Almesberger <werner@almesberger.net>
     2
     3        PR 1961/cpukit
     4        * score/src/coremsgsubmit.c: Close window caused by using message
     5        pending count rather than directly obtaining unused buffer.
     6
    172011-11-07      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • cpukit/score/src/coremsgsubmit.c

    r9981ef0 r3d83ae5  
    103103   *  queue the message up for a future receive.
    104104   */
    105   if ( the_message_queue->number_of_pending_messages <
    106        the_message_queue->maximum_pending_messages ) {
    107 
    108     the_message =
    109         _CORE_message_queue_Allocate_message_buffer( the_message_queue );
    110 
    111     #if defined(RTEMS_DEBUG)
    112       /*
    113        *  NOTE: If the system is consistent, this error should never occur.
    114        */
    115 
    116       if ( !the_message )
    117         return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
    118      #endif
    119 
     105  the_message =
     106      _CORE_message_queue_Allocate_message_buffer( the_message_queue );
     107  if ( the_message ) {
    120108    _CORE_message_queue_Copy_buffer(
    121109      buffer,
Note: See TracChangeset for help on using the changeset viewer.