aperiodic xenomai tasks
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)
Quoted 8 lines · mani bhatti
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
Quoted 9 lines
it aperiodic and comment out that
rt_task_set_periodicstuff 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