Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Classic holdswitch polling

Re: Classic holdswitch polling

From: Thomas Martitz <kugel_at_rockbox.org>
Date: Mon, 05 Mar 2012 22:51:23 +0100

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).

Best regards
Received on 2012-03-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy