Re: File IO preventing sleep
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.