• 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
autorelease pools in new threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autorelease pools in new threads


  • Subject: autorelease pools in new threads
  • From: Chaz McGarvey <email@hidden>
  • Date: Fri, 30 Aug 2002 17:24:53 -0600

Hello:

I'm having trouble with threads. I have a method (which is branched off into its own thread) that creates and AutoreleasePool as it's first statement, and it releases it as it's last. The program crashes when releasing the pool with either SIGBUS or SIGSEGV. Can anybody tell straight off with this information if I'm doing something wrong? I get some "leaking" warnings if I don't include the pool.

Thanks,
Chaz McGarvey
_______________________________________________
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.

  • Follow-Ups:
    • Re: autorelease pools in new threads
      • From: Nathan Day <email@hidden>
    • Re: autorelease pools in new threads
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Metal programatically...
  • Next by Date: Re: Tracking files the right way -- NeXT apps are less intuitive with worse HI?
  • Previous by thread: Re: Metal programatically...
  • Next by thread: Re: autorelease pools in new threads
  • Index(es):
    • Date
    • Thread