Module: xenomai-head Branch: master Commit: 5f27c028ab52b19cd3767c75cde3532a0288e31f URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=5f27c028ab52b19cd3767c75cde3532a0288e31f
Author: Philippe Gerum <[email protected]> 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 da4e626..bcce4c7 100644 --- a/ksrc/skins/native/task.c +++ b/ksrc/skins/native/task.c @@ -2010,7 +2010,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 [email protected] https://mail.gna.org/listinfo/xenomai-git
