This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

User Space Periodic Timing and Monte Vista Real-Time Threading

Hi

I'd like a thread in my application to wake up at a certain period and do some work. The amount of work will vary so I do not want to sleep for some fixed amount of time. The desired rate is 10-60 Hz.

This is between 16 and 100 ms. It's a soft requirement in that a missed period does no harm to the application.

Are there any timing services available?

Also, I've been using PThreads. I haven't yet messed with the real-time scheduler in Monte Vista. Can I make one of these threads real-time? Or will the regular scheduler work OK for this?

Thanks,

Ken