• 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: Threads, safeness, and AutoreleasePools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threads, safeness, and AutoreleasePools


  • Subject: Re: Threads, safeness, and AutoreleasePools
  • From: Miguel Morales <email@hidden>
  • Date: Wed, 15 Aug 2001 08:54:12 -0700

Dear Todd,

I've heard that Appkit objects are generally not safe, so you might try putting all the AppKit communications in one thread (using DO for the inter-thread communication). As to the autorelease pools, yes you need to have one for every new thread. There is one provided in the main application loop, but you need to supply your own in new threads.

-Miguel


  • Prev by Date: Odd error... (newbie)
  • Next by Date: strange behaviour with icons
  • Previous by thread: Re: Threads, safeness, and AutoreleasePools
  • Next by thread: Re: Threads, safeness, and AutoreleasePools
  • Index(es):
    • Date
    • Thread