• 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: Object Allocations
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object Allocations


  • Subject: Re: Object Allocations
  • From: Rosyna <email@hidden>
  • Date: Mon, 17 Sep 2001 07:47:08 -0700

-(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.

--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insane People


  • Follow-Ups:
    • Re: Object Allocations
      • From: Ondra Cada <email@hidden>
    • Re: Object Allocations
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: Object Allocations (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: distributed processing ad multiThreading
  • Next by Date: Moving File to Trash Problem
  • Previous by thread: Re: Object Allocations
  • Next by thread: Re: Object Allocations
  • Index(es):
    • Date
    • Thread