[Xenomai-git] Philippe Gerum : uitron: fix wait flag helper
Module: xenomai-head Branch: master Commit: bd1b54eac42c066985518788ec31427579b7cc15 URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=bd1b54eac42c066985518788ec31427579b7cc15 Author: Philippe Gerum r...@xenomai.org 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 Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : uitron: fix wait flag helper
Module: xenomai-rpm Branch: queue/mayday Commit: bd1b54eac42c066985518788ec31427579b7cc15 URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=bd1b54eac42c066985518788ec31427579b7cc15 Author: Philippe Gerum r...@xenomai.org 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 Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : uitron: fix wait flag helper
Module: xenomai-rpm Branch: queue/mayday Commit: 2ee82e03747d306aaf3c14763adeffa564b2792c URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=2ee82e03747d306aaf3c14763adeffa564b2792c Author: Philippe Gerum r...@xenomai.org 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 Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : uitron: fix wait flag helper
Module: xenomai-rpm Branch: for-upstream Commit: bd1b54eac42c066985518788ec31427579b7cc15 URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=bd1b54eac42c066985518788ec31427579b7cc15 Author: Philippe Gerum r...@xenomai.org 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 Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git
[Xenomai-git] Philippe Gerum : uitron: fix wait flag helper
Module: xenomai-rpm Branch: queue/rtipc Commit: bd1b54eac42c066985518788ec31427579b7cc15 URL: http://git.xenomai.org/?p=xenomai-rpm.git;a=commit;h=bd1b54eac42c066985518788ec31427579b7cc15 Author: Philippe Gerum r...@xenomai.org 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 Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git