Correct API to implement a timer in a real-time thread
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Hi, 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. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Letz