Re: Object Allocations
Re: Object Allocations
- Subject: Re: Object Allocations
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 17 Sep 2001 09:10:17 -0700
On Monday, September 17, 2001, at 07:47 AM, Rosyna wrote:
-(void) awakeFromNib
{
// more
[NSThread detachNewThreadSelector:@selector(thread:) toTarget:self
withObject:nil];
// more
}
then
-(void) thread:(id)anObject
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// much more
[pool release];
}
Ack, at 9/17/01, John C. Randolph said:
Let's see the code you're using to spawn the thread and create the
pool.
Well, I'm stumped. That should do the trick.
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.