Rockbox mail archiveSubject: 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:
>>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 was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew