• 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: Thread, timer, notifications, or something else?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread, timer, notifications, or something else?


  • Subject: Re: Thread, timer, notifications, or something else?
  • From: Daryn <email@hidden>
  • Date: Sun, 30 Mar 2003 23:09:26 -0600

On Sunday, March 30, 2003, at 09:21 PM, Eric Blom wrote:
I've tried the following but it failed with all kinds of leaking. See
end of email for errors.
[NSThread detachNewThreadSelector:@selector(programPart:) toTarget:self
withObject:self];

Apologies for not addressing your overall question, but this simple problem is due to programPart not creating an autorelease pool. See the documentation of detachNewThreadSelector for further details.

Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Thread, timer, notifications, or something else? (From: Eric Blom <email@hidden>)

  • Prev by Date: Re: NSUnarchiver - Why does this leak?
  • Next by Date: Re: Is there a ready chart plotting view?
  • Previous by thread: Thread, timer, notifications, or something else?
  • Next by thread: Re: Thread, timer, notifications, or something else?
  • Index(es):
    • Date
    • Thread