Skip navigation.
 
mlRe: NSTimer preventing sleep?
FROM : Jacob Bandes-Storch
DATE : Thu Jan 24 17:53:51 2008

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_removed>)
>>>>
>>>> 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:
>>>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>>>
>>>> This email sent to <email_removed>

>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>>
>> This email sent to <email_removed>

Related mailsAuthorDate
mlNSTimer preventing sleep? Jacob Bandes-Storc… Jan 23, 18:19
mlRe: NSTimer preventing sleep? John Stiles Jan 23, 18:20
mlRe: NSTimer preventing sleep? Jacob Bandes-Storc… Jan 24, 17:24
mlRe: NSTimer preventing sleep? William Turner Jan 24, 17:50
mlRe: NSTimer preventing sleep? Jacob Bandes-Storc… Jan 24, 17:53
mlRe: NSTimer preventing sleep? Shawn Erickson Jan 24, 19:17
mlRe: NSTimer preventing sleep? Jacob Bandes-Storc… Jan 24, 20:36
mlRe: NSTimer preventing sleep? Hamish Allan Jan 24, 22:02
mlRe: NSTimer preventing sleep? Dave Camp Jan 25, 00:55
mlRe: NSTimer preventing sleep? John Pannell Jan 25, 04:10