[PATCH 3/8] mpci: Allow packet receive function to block

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Mar 24 14:57:42 UTC 2016


---
 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 )
-- 
1.8.4.5




More information about the devel mailing list