Module: xenomai-rpm
Branch: for-upstream
Commit: 04a7fcc91f82e1c52214dc4fbefdb228de88f689
URL:    
http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=04a7fcc91f82e1c52214dc4fbefdb228de88f689

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jul  4 10:08:39 2011 +0200

native: fix never unblocking rt_task_receive()

---

 ksrc/skins/native/task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/skins/native/task.c b/ksrc/skins/native/task.c
index b0e99a7..6a982f1 100644
--- a/ksrc/skins/native/task.c
+++ b/ksrc/skins/native/task.c
@@ -2009,7 +2009,7 @@ int rt_task_receive(RT_TASK_MCB *mcb_r, RTIME timeout)
                        err = -EINTR;   /* Unblocked. */
                        goto unlock_and_exit;
                }
-       } while (!xnsynch_pended_p(&server->mrecv));
+       } while (!xnsynch_pended_p(&server->msendq));
 
        holder = getheadpq(xnsynch_wait_queue(&server->msendq));
        /* There must be a valid holder since we waited for it. */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to