Re: Mystery Thread
Re: Mystery Thread
- Subject: Re: Mystery Thread
- From: Chaz McGarvey <email@hidden>
- Date: Fri, 28 Jan 2005 17:31:22 -0700
On Jan 28, 2005, at 5:28 PM, Jesse Abram wrote:
Hi everyone, I made an app yesterday, it's a somewhat basic and
slightly boring game. I happened to notice in Activity Monitor that it
has 2 threads. I haven't even learned multithreaded programming yet,
let alone put any explicit code regarding threads in my program, and I
have never noticed this in any other programs I have created, so I
figured it would be worth asking about: Why is my app multithreaded?
The interface consists only of NSForm Matrices, NSButtons, and a
divider bar. The app doesn't dynamically create any objects, all
variables are basic C types. I don't know if this information is
relevant, but I figured I'd mention it.
It's probably the 'heart beat,' which is used by AppKit to animate the
user interface (like a pulsating button). If you know you didn't
create the thread (and you would know if you did), then don't worry
about what threads the frameworks create for their own purposes.
Chaz McGarvey
http://www.brokenzipper.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden