• 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: Autorelease pool question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease pool question


  • Subject: Re: Autorelease pool question
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 13 Jan 2004 08:00:29 -0800

On Jan 13, 2004, at 6:25 AM, Timothy Reaves wrote:

According to Apple's documentation, "the Application Kit
automatically sets up an autorelease pool scoped to the applications
event cycle." So does this mean that each event has its own pool, or
that the event handler has the pool?

Every run of the event loop is wrapped by an autorelease pool. So at the end of processing the current event the current auto release pool is releases.

-Shawn
_______________________________________________
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: 
 >Autorelease pool question (From: "Timothy Reaves" <email@hidden>)

  • Prev by Date: Re: Aaron's Chapter 5 TableView Example
  • Next by Date: Re: Glueing strings together...
  • Previous by thread: Autorelease pool question
  • Next by thread: Re: Autorelease pool question
  • Index(es):
    • Date
    • Thread