• 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: NSTimer preventing sleep?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTimer preventing sleep?


  • Subject: Re: NSTimer preventing sleep?
  • From: Jacob Bandes-Storch <email@hidden>
  • Date: Thu, 24 Jan 2008 08:53:51 -0800

Yep, that'd be it... I'm reading from disk. There's really no way around that in this program... is there something else I can do to allow sleep?

On Jan 24, 2008, at 8:50 AM, William Turner wrote:

Once potential problem is anything you might be doing directly or indirectly resulting in disk activity.

I realize that's rather vague :) If that doesn't ring any bells, try increasing the timer interval to 3 minutes and see if the problem remains.

Wil

On Jan 24, 2008, at 8:24 AM, Jacob Bandes-Storch wrote:

I'm doing some work with NSFileManager, NSImage, NSCalendarDate, and NSMutableDictionary... I'm not sure what exactly would cause this problem...

On Jan 23, 2008, at 9:20 AM, John Stiles wrote:

What exactly are you doing in your timer code?
The timer itself probably isn't the issue; lots of apps have NSTimers but don't inhibit sleeping.



Jacob Bandes-Storch wrote:
It appears that an NSTiner I have in my application (running approximately every minute) is preventing the computer from going to sleep. Is this a common issue? How can I prevent it?
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com


Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTimer preventing sleep?
      • From: "Shawn Erickson" <email@hidden>
References: 
 >NSTimer preventing sleep? (From: Jacob Bandes-Storch <email@hidden>)
 >Re: NSTimer preventing sleep? (From: John Stiles <email@hidden>)
 >Re: NSTimer preventing sleep? (From: Jacob Bandes-Storch <email@hidden>)
 >Re: NSTimer preventing sleep? (From: William Turner <email@hidden>)

  • Prev by Date: Re: NSTimer preventing sleep?
  • Next by Date: compress / decompress zip file in WinZip 11 format
  • Previous by thread: Re: NSTimer preventing sleep?
  • Next by thread: Re: NSTimer preventing sleep?
  • Index(es):
    • Date
    • Thread