Re: Preventing system sleep, QA1340 code does not seem to work
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: Rogue Research On 2006-12-12 16:16, Brian Bergstrand said:
The callback requires a run loop. Have you created one, added the callback source port and started the loop running?
Yes. I copy and pasted the code exactly, as seen here: <http://developer.apple.com/qa/qa2004/qa1340.html> The code looks like it should work. As I said, I made a brand new project, of type 'CoreFoundation tool', pasted in the code, added IOKit.framework, and ran it. -- ____________________________________________________________ Sean McBride, B. Eng sean@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Sean McBride