Re: Debugging a sleepless Mac
Re: Debugging a sleepless Mac
- Subject: Re: Debugging a sleepless Mac
- From: Aaron Burghardt <email@hidden>
- Date: Wed, 16 Mar 2011 17:15:35 -0400
On Mar 16, 2011, at 2:50 PM, Laurent Daudelin wrote:
>> Just calling UpdateSystemActivity() once every minute is enough to prevent sleeping. no need to keep the system busy nor to install PMNotification visible in pmset.
>> And checking if a running process call this function from time to time it is not trivial.
>>
>
> Using a tool like "otool", wouldn't someone be able to find that symbol in a given binary?
"nm" dumps the linker symbol table. "otool -L" will list the libraries linked against.
Aaron
_______________________________________________
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