Rockbox mail archive
Subject: Re: Classic holdswitch polling
Re: Classic holdswitch polling
Am 05.03.2012 11:16, schrieb Marcin Bukat:
>> 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.
Please don't do such an ugly thing. An extra target specific thread,
contained in the target tree, is perfectly fine (there are other targets
doing similar things).
Received on 2012-03-05
Page was last modified "Jan 10 2012" The Rockbox Crew