Re: thread_policy_set: how to raise thread priority to max?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=h/fnXb9V+ny1tyb24E5ggAGKUQ1BsOBJzalPvm4mb8c=; b=bq9aMb5ZipYlKU80VPRfK63xlruSrXjbOQNyKUtge9MCO9YEbp7msHEFDxi7h3aRBhhEB5dhy2p7Q5fF7tgzEEPGJ4FjOnAod90WIwvMcxMymrf3Bs1bVeebhm9/KVJfn1zDs6DPE70idoiEGYPVzeuKyq45DTd1brfhM12UrfA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZyVVAOtgk+k3RI1eOtDmnRhdTaMa0A12XN+/1m6hZQxZXJzINHm9Io0nFVFKEOGV3gUkVCzqcQLzXoFLLRKWOjAkO3p6wW4axFwG9DXii7SsNLMmextqxEQg7qZmVOPpIbUxc6s+nIcs7g6xYk6ZZapO/rU5kuvL372EsW7+UEI= On Mon, Apr 28, 2008 at 7:20 PM, Peter Stys <pstys@ucalgary.ca> wrote:
Hi Folks:
I hope this is the appropriate list to ask this question: I need real-time performance for my app for a limited (up to several seconds) period of time. After digging around, thread_policy_set seemed like the solution but I can't get it to work in my Xcode project (I'm running Leopard):
Try... #include <mach/mach.h> #include <mach/thread_policy.h> -Shawn _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Shawn Erickson