Module: xenomai-rpm Branch: queue/mayday Commit: 2ee82e03747d306aaf3c14763adeffa564b2792c URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=2ee82e03747d306aaf3c14763adeffa564b2792c
Author: Philippe Gerum <[email protected]> Date: Mon May 31 18:54:44 2010 +0200 uitron: fix wait flag helper All wait flag services from the uITRON emulator were missing the wait mask and mode information in the sleeper TCB, so there is no way they could ever work. --- ksrc/skins/uitron/flag.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ksrc/skins/uitron/flag.c b/ksrc/skins/uitron/flag.c index 8238ca7..c7f3c0d 100644 --- a/ksrc/skins/uitron/flag.c +++ b/ksrc/skins/uitron/flag.c @@ -316,6 +316,8 @@ static ER wai_flg_helper(UINT *p_flgptn, task = ui_current_task(); xnthread_clear_info(&task->threadbase, uITRON_TASK_RLWAIT); + task->wargs.flag.wfmode = wfmode; + task->wargs.flag.waiptn = waiptn; xnsynch_sleep_on(&flag->synchbase, timeout, XN_RELATIVE); _______________________________________________ Xenomai-git mailing list [email protected] https://mail.gna.org/listinfo/xenomai-git
