Rockbox mail archiveSubject: Re: Classic holdswitch polling
Re: Classic holdswitch polling
From: Marcin Bukat <marcin.bukat_at_gmail.com>
Date: Mon, 5 Mar 2012 11:16:55 +0100
> b) To get PMU polling out of the interrupt handler. For me this is a
> better solution, its a minor change but there is no obvious place to
> do it, actually it is managed on the tick interrupt for all targets.
> The powermgmt thread doesn't seems to be an appropriate place, but
> creating a new thread only for this target looks wasteful, maybe the
> backlight thread or the misc event handler? .
backlight thread is not that bad IMO.
Received on 2012-03-05