From 7d741413807423534b66a4d7b76979530da91941 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Aug 2001 19:35:08 +0000 Subject: 2001-08-16 Joel Sherrill * 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. --- cpukit/score/src/coremsgsubmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src') diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index 94398db4c0..eabcb79ddf 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -171,5 +171,5 @@ CORE_message_queue_Status _CORE_message_queue_Submit( _Thread_queue_Enqueue( &the_message_queue->Wait_queue, timeout ); } - return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; + return CORE_MESSAGE_QUEUE_STATUS_UNSATISFIED_WAIT; } -- cgit v1.2.3