[rtems commit] score: Allow MPCI packet receive function to block
Sebastian Huber
sebh at rtems.org
Tue Mar 29 11:43:04 UTC 2016
Module: rtems
Branch: master
Commit: a62c3aa39e383faf66e18d0abd35ada143425a49
Changeset: http://git.rtems.org/rtems/commit/?id=a62c3aa39e383faf66e18d0abd35ada143425a49
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Mar 24 15:39:38 2016 +0100
score: Allow MPCI packet receive function to block
---
cpukit/score/src/mpci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/cpukit/score/src/mpci.c b/cpukit/score/src/mpci.c
index 132d3e5..76ca4c8 100644
--- a/cpukit/score/src/mpci.c
+++ b/cpukit/score/src/mpci.c
@@ -343,6 +343,8 @@ void _MPCI_Receive_server(
);
for ( ; ; ) {
+ executing->receive_packet = NULL;
+
the_packet = _MPCI_Receive_packet();
if ( !the_packet )
More information about the vc
mailing list