• 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: Headless Cocoa/Java app - autorelease
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Headless Cocoa/Java app - autorelease


  • Subject: Re: Headless Cocoa/Java app - autorelease
  • From: John Stiles <email@hidden>
  • Date: Mon, 2 May 2005 13:49:41 -0700

On May 2, 2005, at 11:40 AM, String Larson wrote:

Now, JBoss has worker threads that process incoming requests, AND I spawn my own threads to handle the actual image processing. Do the sub-threads need AutoreleasePools as well ?

Correct, any thread will need its own autorelease pool.
Cocoa doesn't have the concept of "sub-threads" per se (I don't know about Java here). Each thread is its own entity in Cocoa, and will need a unique pool.


_______________________________________________
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: 
 >Headless Cocoa/Java app - autorelease (From: String Larson <email@hidden>)

  • Prev by Date: Re: When is (NSColor) black not black?
  • Next by Date: Re: Headless Cocoa/Java app - autorelease
  • Previous by thread: Headless Cocoa/Java app - autorelease
  • Next by thread: Re: Headless Cocoa/Java app - autorelease
  • Index(es):
    • Date
    • Thread