From: Jan Kiszka <jan.kiszka@domain.hid>
To: mani bhatti <imranbashirbhatti@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: [Xenomai-help] Re: [Xenomai-core] aperiodic xenomai tasks
Date: Wed, 27 Sep 2006 16:34:23 +0200 [thread overview]
Message-ID: <451A8BEF.6060305@domain.hid> (raw)
In-Reply-To: <20060927135543.26891.qmail@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1758 bytes --]
Two requests:
- please use "reply to all" in order to include everyone in this thread,
specifically the list itself
- cut quotes you do not comment on in your reply (helps to grab quickly
what you are referring to - and what not)
mani bhatti wrote:
> Hi Jan Kiszka
> Thanks a lot for your kind reply.Actually my motivation behind this
> question was that i wanted to have two tasks one of the task i want
> to make pariodic and schedule it after 1second and the second task i
> wanted to singnal only after my first task has completed its work so
> that second task completes its work and first task is scheduled
> again and second task signalled and so on.Because second task is
> signalled only when first task completes thats why i wanted to make
> it aperiodic and comment out that rt_task_set_periodic stuff but i am
> not still able to do it because in my case only task no 1 is
> scheduled and task 2 is not signalled at all.Actually i am a new bee
> to xenomai and have experience mostly with programming in C++ thats
> why i have only idea about threading in C++ and java which havent got
> functions like set periodic.If you please tell me how to realize
> above idea in Xenomai i would br very thankful to you.Thanks a lot
> again.
>
Your problem is actually independent of Xenomai. I think you should
first read some basics on interprocess communication. Quick hint
regarding your scenario:
http://en.wikipedia.org/wiki/Semaphore_%28programming%29
You will find related services in Xenomai as well. Also browsing through
the Xenomai doc what's available and then reading up what it is good for
can help to broaden the understanding, and this is essential for writing
real-time software.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next parent reply other threads:[~2006-09-27 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060927135543.26891.qmail@domain.hid>
2006-09-27 14:34 ` Jan Kiszka [this message]
[not found] <20061005134524.92486.qmail@domain.hid>
2006-10-05 15:24 ` [Xenomai-help] Re: [Xenomai-core] aperiodic xenomai tasks Jan Kiszka
[not found] <20060927151753.9409.qmail@domain.hid>
2006-09-27 15:44 ` Jan Kiszka
2006-09-26 15:41 mani bhatti
2006-09-26 16:00 ` [Xenomai-help] " Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=451A8BEF.6060305@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=imranbashirbhatti@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.