Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Periodic tasks creation: Page 1 of 9 (9 Items)
   
Periodic tasks creation  
Hi!

I am a new user of QNX. Actually, I am working on my diploma project which consists to compare three rtos (qnx, rtos32 
and xenomai).

I searched informations about tasks, and especially about periodic tasks.

Is there a trivial way to perform them? For example an instruction which make sleep the task till the next activation by
 the scheduler? 

At this moment I use semaphores. Each thread waits on a specific semaphore and another thread uses "sem_post(&rtTaskN)" 
for all the threads after a specified period in a timer.

I also have another question about cpu clock, if I specify "CLOCK_REALTIME" in the instruction "timer_create", which 
system clock will I use? The RTC clock of the system@32kHz or a cpu internal clock with a greater precision?

Thanks for your help.