Re: NSProgressIndicator and _heartBeatThread
Re: NSProgressIndicator and _heartBeatThread
- Subject: Re: NSProgressIndicator and _heartBeatThread
- From: Stephane <email@hidden>
- Date: Wed, 7 Feb 2007 19:05:06 +0100
Reduce CPU consumption when this thread is no more needed.
On Feb 7, 2007, at 6:52 PM, Michael Watson wrote:
What are you trying to accomplish, exactly?
--
m-s
On 07 Feb, 2007, at 12:12, Stephane wrote:
If you set a NSProgressIndicator to run the indeterminate
animation in a separate thread (with setUsesThreadedAnimation:), a
secondary thread is created and it periodically calls
[NSUIHeartBeat _heartBeatThread:].
Let's say you then turn off the animation and remove the
ProgressIndicator from the window contents, this second thread is
still running.
Would there be a way to stop this secondary thread?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40bungie.org
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden