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



Rockbox mail archive

Subject: Re: Warning to PLUGIN authors

Re: Warning to PLUGIN authors

From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Sun, 06 Jun 2004 23:17:21 +0100

At 09:46 06/06/04, you wrote:
>BlueChip wrote:
>>The problem is, in simple terms, that rb->button_get(false)
>>does not issue a yield(), but rb->button_get(true) does.
>>This MAY be an oversight in the core code; If it was deliberate I openly
>>contest the decision. But anyway, the solution is simple:
>>Issue your own yield().
>
>This is certainly not an oversight. Why should it yield() for no reason?
>
>Linus

One could ask why it yield()s in get_button(true) in the same vain, it just
seems the simple way to protect the mp3 thread from bad plugins.

As I say, the solution is uber-simple, once you realise what the problem
is, so no biggie :)

BC


_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-06-07

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