Rockbox mail archive
Subject: Re: Warning to PLUGIN authors
From: BlueChip (cs_bluechip_at_webtribe.net)
At 09:46 06/06/04, you 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 :)
Page was last modified "Jan 10 2012" The Rockbox Crew