Changeset e5a8020 in rtems


Ignore:
Timestamp:
Nov 28, 2011, 4:36:14 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
7e8ed4d
Parents:
267357a
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

    r267357a re5a8020  
     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-26      Gedare Bloom <gedare@rtems.org>
    28
  • cpukit/score/src/coremsgsubmit.c

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