change log for rtems (2011-11-28)

rtems-vc at rtems.org rtems-vc at rtems.org
Mon Nov 28 17:10:19 UTC 2011


 *joel* (on branch rtems-4-10-branch):
2011-11-28	Werner Almesberger <werner at almesberger.net>

	PR 1961/cpukit
	* score/src/coremsgsubmit.c: Close window caused by using message
	pending count rather than directly obtaining unused buffer.

M 1.2995  cpukit/ChangeLog
M 1.1539.2.84  cpukit/ChangeLog
M 1.2346.2.108  cpukit/ChangeLog
M   1.27  cpukit/score/src/coremsgsubmit.c
M 1.18.2.1  cpukit/score/src/coremsgsubmit.c
M 1.25.2.1  cpukit/score/src/coremsgsubmit.c

diff -u rtems/cpukit/ChangeLog:1.2994 rtems/cpukit/ChangeLog:1.2995
--- rtems/cpukit/ChangeLog:1.2994	Sat Nov 26 12:15:39 2011
+++ rtems/cpukit/ChangeLog	Mon Nov 28 10:36:14 2011
@@ -1,3 +1,9 @@
+2011-11-28	Werner Almesberger <werner at almesberger.net>
+
+	PR 1961/cpukit
+	* score/src/coremsgsubmit.c: Close window caused by using message
+	pending count rather than directly obtaining unused buffer.
+
 2011-11-26	Gedare Bloom <gedare at rtems.org>
 
 	PR 1963

diff -u rtems/cpukit/ChangeLog:1.1539.2.83 rtems/cpukit/ChangeLog:1.1539.2.84
--- rtems/cpukit/ChangeLog:1.1539.2.83	Wed Nov  9 12:44:29 2011
+++ rtems/cpukit/ChangeLog	Mon Nov 28 10:36:46 2011
@@ -1,3 +1,9 @@
+2011-11-28	Werner Almesberger <werner at almesberger.net>
+
+	PR 1961/cpukit
+	* score/src/coremsgsubmit.c: Close window caused by using message
+	pending count rather than directly obtaining unused buffer.
+
 2011-11-09	Werner Almesberger <werner at almesberger.net>
 
 	PR 1957/cpukit

diff -u rtems/cpukit/ChangeLog:1.2346.2.107 rtems/cpukit/ChangeLog:1.2346.2.108
--- rtems/cpukit/ChangeLog:1.2346.2.107	Wed Nov  9 12:52:22 2011
+++ rtems/cpukit/ChangeLog	Mon Nov 28 10:36:29 2011
@@ -1,3 +1,9 @@
+2011-11-28	Werner Almesberger <werner at almesberger.net>
+
+	PR 1961/cpukit
+	* score/src/coremsgsubmit.c: Close window caused by using message
+	pending count rather than directly obtaining unused buffer.
+
 2011-11-07	Ralf Corsepius <ralf.corsepius at rtems.org>
 
 	PR 1952/cpukit

diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.26 rtems/cpukit/score/src/coremsgsubmit.c:1.27
--- rtems/cpukit/score/src/coremsgsubmit.c:1.26	Sun Jul 24 18:55:13 2011
+++ rtems/cpukit/score/src/coremsgsubmit.c	Mon Nov 28 10:36:14 2011
@@ -101,21 +101,9 @@
    *  No one waiting on the message queue at this time, so attempt to
    *  queue the message up for a future receive.
    */
-  if ( the_message_queue->number_of_pending_messages <
-       the_message_queue->maximum_pending_messages ) {
-
-    the_message =
-        _CORE_message_queue_Allocate_message_buffer( the_message_queue );
-
-    #if defined(RTEMS_DEBUG)
-      /*
-       *  NOTE: If the system is consistent, this error should never occur.
-       */
-
-      if ( !the_message )
-        return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
-     #endif
-
+  the_message =
+      _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+  if ( the_message ) {
     _CORE_message_queue_Copy_buffer(
       buffer,
       the_message->Contents.buffer,

diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.18 rtems/cpukit/score/src/coremsgsubmit.c:1.18.2.1
--- rtems/cpukit/score/src/coremsgsubmit.c:1.18	Fri Sep  5 16:54:20 2008
+++ rtems/cpukit/score/src/coremsgsubmit.c	Mon Nov 28 10:36:48 2011
@@ -101,11 +101,9 @@
    *  queue the message up for a future receive.
    */
 
-  if ( the_message_queue->number_of_pending_messages <
-       the_message_queue->maximum_pending_messages ) {
-
-    the_message =
-        _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+  the_message =
+      _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+  if ( the_message ) {
 
     /*
      *  NOTE: If the system is consistent, this error should never occur.

diff -u rtems/cpukit/score/src/coremsgsubmit.c:1.25 rtems/cpukit/score/src/coremsgsubmit.c:1.25.2.1
--- rtems/cpukit/score/src/coremsgsubmit.c:1.25	Sun Nov 29 07:51:52 2009
+++ rtems/cpukit/score/src/coremsgsubmit.c	Mon Nov 28 10:36:31 2011
@@ -102,21 +102,9 @@
    *  No one waiting on the message queue at this time, so attempt to
    *  queue the message up for a future receive.
    */
-  if ( the_message_queue->number_of_pending_messages <
-       the_message_queue->maximum_pending_messages ) {
-
-    the_message =
-        _CORE_message_queue_Allocate_message_buffer( the_message_queue );
-
-    #if defined(RTEMS_DEBUG)
-      /*
-       *  NOTE: If the system is consistent, this error should never occur.
-       */
-
-      if ( !the_message )
-        return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED;
-     #endif
-
+  the_message =
+      _CORE_message_queue_Allocate_message_buffer( the_message_queue );
+  if ( the_message ) {
     _CORE_message_queue_Copy_buffer(
       buffer,
       the_message->Contents.buffer,



--

Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20111128/0f028103/attachment.html>


More information about the vc mailing list