• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mystery Thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Mystery Thread (From: Jesse Abram <email@hidden>)

  • Prev by Date: Re: NSMatrix sending a message
  • Next by Date: Re: Mystery Thread
  • Previous by thread: Mystery Thread
  • Next by thread: Re: Mystery Thread
  • Index(es):
    • Date
    • Thread