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

autorelease question


  • Subject: autorelease question
  • From: Jerrod Fowkes <email@hidden>
  • Date: Fri, 5 May 2006 07:10:15 -0700 (PDT)

Hello,

I have a thread that runs continuously. In that thread I need to keep checking a time interval. If it has become 15 mintues or an hour then do some sort of operation. Well, currently I am trying to use NSCalendarDate. My main question is :

If I keep ' time = [NSCalendarDate calendarDate];' in a loop, will that flood the autorelease pool?

My other question is, Do you think this solution would be better handled with an NSTimer?

Thank you -Jerrod Fowkes


---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: autorelease question
      • From: James Bucanek <email@hidden>
    • Re: autorelease question
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Re: rename check? And alias...
  • Next by Date: mighty mouse
  • Previous by thread: Re: (simple?) CoreData question :-)
  • Next by thread: Re: autorelease question
  • Index(es):
    • Date
    • Thread