Correct API to implement a timer in a real-time thread
Correct API to implement a timer in a real-time thread
- Subject: Correct API to implement a timer in a real-time thread
- From: Stéphane Letz <email@hidden>
- Date: Thu, 5 Jan 2006 12:25:03 +0100
Hi,
We need to setup a 1 millisecond periodic timer used in a real-time
(time constraint) thread in a pure C console program. We first tried
to use the carbon Timer manager API (with NewTimerUPP and a
timeManagerTask ...) but without being able to access the thread that
call the timer task in order to setup its scheduling property to be
"time constraint". We try also low-level function like
mach_wait_until but had problems on Panther.
What is the recommended way (API...) to implement a timer?
Thanks
Stephane Letz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden