Rockbox mail archiveSubject: Re: Where should this functionality go?
Re: Where should this functionality go?
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Thu, 01 May 2003 01:12:05 +0200
c s wrote:
> If want to poll the status of the external power from
> within the power_management thread, I can change the 3
> calls to sleep() inside the main loop to instead be
> calls to a function that will sleep for the specified
> time AND poll the external power status a few times a
> second while doing this sleep for the main thread
> loop. Would this be an acceptable way of doing this?
I think so yes. As long as you keep the polling frequency as low as possible
Received on 2003-05-01