dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Warning to PLUGIN authors

Re: Warning to PLUGIN authors

From: BlueChip <>
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?

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


Received on 2004-06-07

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