Re: Headless Cocoa/Java app - autorelease
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