Changeset 7d741413 in rtems


Ignore:
Timestamp:
Aug 16, 2001, 7:35:08 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
0a51f80
Parents:
f879de5
Message:

2001-08-16 Joel Sherrill <joel@…>

  • include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new return status to account for blocking sends. Otherwise, the caller will think that the returned message status will have the ultimate results of the operation. If the send times out, the final status will be in the return_code of the thread.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/ChangeLog

    rf879de5 r7d741413  
     1
     22001-08-16      Joel Sherrill <joel@OARcorp.com>
     3
     4        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
     5        return status to account for blocking sends.  Otherwise, the
     6        caller will think that the returned message status will have
     7        the ultimate results of the operation.  If the send times out,
     8        the final status will be in the return_code of the thread.
    19
    2102001-08-09      Joel Sherrill <joel@OARcorp.com>
  • c/src/exec/score/include/rtems/score/coremsg.h

    rf879de5 r7d741413  
    9696  CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT,
    9797  CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED,
    98   CORE_MESSAGE_QUEUE_STATUS_TIMEOUT
     98  CORE_MESSAGE_QUEUE_STATUS_TIMEOUT,
     99  CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT
    99100}   CORE_message_queue_Status;
    100101
  • c/src/exec/score/src/coremsgsubmit.c

    rf879de5 r7d741413  
    172172  }
    173173
    174   return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;
     174  return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;
    175175}
  • cpukit/score/ChangeLog

    rf879de5 r7d741413  
     1
     22001-08-16      Joel Sherrill <joel@OARcorp.com>
     3
     4        * include/rtems/score/coremsg.h, src/coremsgsubmit.c: Add a new
     5        return status to account for blocking sends.  Otherwise, the
     6        caller will think that the returned message status will have
     7        the ultimate results of the operation.  If the send times out,
     8        the final status will be in the return_code of the thread.
    19
    2102001-08-09      Joel Sherrill <joel@OARcorp.com>
  • cpukit/score/include/rtems/score/coremsg.h

    rf879de5 r7d741413  
    9696  CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_NOWAIT,
    9797  CORE_MESSAGE_QUEUE_STATUS_WAS_DELETED,
    98   CORE_MESSAGE_QUEUE_STATUS_TIMEOUT
     98  CORE_MESSAGE_QUEUE_STATUS_TIMEOUT,
     99  CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT
    99100}   CORE_message_queue_Status;
    100101
  • cpukit/score/src/coremsgsubmit.c

    rf879de5 r7d741413  
    172172  }
    173173
    174   return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL;
     174  return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT;
    175175}
Note: See TracChangeset for help on using the changeset viewer.