Re: Strange NSMatrix thread
Re: Strange NSMatrix thread
- Subject: Re: Strange NSMatrix thread
- From: Troy Stephens <email@hidden>
- Date: Thu, 23 Oct 2003 10:04:45 -0700
This is the thread the drives updates to the pulsing default button.
If eliminating the associated overhead is important to you, you can
change your UI to not have a default button (one that has [Return]
assigned as its Key Equivalent).
Troy Stephens
Cocoa frameworks, Apple
On Oct 23, 2003, at 9:07 AM, Jean Bovet wrote:
Hi,
After displaying cells inside a NSMatrix subclass, my application is
taking around 10% CPU (while it is doing absolutely nothing). When
looking a the thread running, I have found the following thread:
BlendedHeartBeatButtonImage
0x5
DrawMacintoshPushButtonBezel
_NSDrawMacintoshStyleBezel
-[NSButtonCell drawWithFrame:inView:]
-[NSControl drawRect:]
-[NSView _drawRect:clip:]
-[NSView _lightWeightRecursiveDisplayInRect:]
-[NSView _lightWeightRecursiveDisplayInRect:]
-[NSView _lightWeightRecursiveDisplayInRect:]
-[NSButtonCell(NSDefaultButtonIndicatorPrivate) heartBeat:]
-[NSWindow(NSWindow_Theme) heartBeat:]
-[NSUIHeartBeat _heartBeatThread:]
forkThreadForFunction
_pthread_body
This thread is running only when the NSMatrix has cell to display and
only when my application is the front application.
Does anyone know why is this thread running and how can I stop this
thread (or make it not running) ?
Thanks in advance.
Jean Bovet
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.