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

Re: File IO preventing sleep


  • Subject: Re: File IO preventing sleep
  • From: Brad Ely <email@hidden>
  • Date: Tue, 21 May 2002 13:35:11 -0400

On Mon, 20 May 2002 09:51:54 -0700
Matt Watson <email@hidden> wrote:

> On Monday, May 20, 2002, at 09:33 AM, Dean Reece wrote:
>
> > You might try stat'ing the file instead of reading it.
>
> Or fstat() since you already have the file open...

Indeed, I've noticed the Console app in OS X also prevents my
PowerBook (fireware) from sleeping. It is using 'tail -f' to display
the /var/tmp/console.log file. Could this be done a better way?

I wasted a lot of PMU resets (see knowledge base 14449) before
discovering the real cause (observed on both 10.1.4 and 10.1.3).
I could be mistaken, but I don't recall this behavior with console
back on 10.0.whatever.

Brad
_______________________________________________
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: 
 >Re: File IO preventing sleep (From: Dean Reece <email@hidden>)
 >Re: File IO preventing sleep (From: Matt Watson <email@hidden>)

  • Prev by Date: Re: Crash while making NSDictionary... Help!
  • Next by Date: Re: Build Log
  • Previous by thread: Re: File IO preventing sleep
  • Next by thread: Re: File IO preventing sleep
  • Index(es):
    • Date
    • Thread