Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing timers to fire inside tight loop



On Wednesday, February 27, 2002, at 03:38 PM, J. Rodden wrote:

I'm adding an indeterminate progress bar to an old bit of code that hogs the
CPU for a while...but since the process is hogging the CPU, the timer that
animates the progress bar doesn't fire. Is there a simple call somewhere
that I can add at various points in the process that will allow the timer to
fire (but not the main event loop processing)?


EventAvail would be sufficient.

-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Allowing timers to fire inside tight loop (From: "J. Rodden" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.