|
|
Rockbox mail archiveSubject: Re: potential bug reportFrom: Björn Stenberg (bjorn_at_haxx.se) Date: 2002-06-12
Greg Haerr wrote:
> A quick review of the source shows that, although not a bug yet, the
Right, we haven't tested with >1 sector reads. Nice spotting, we're fixing
> BTW, I'm trying to understand exactly how many threads are running in
Currently there are three threads in use:
- Main/UI thread
The buttons are polled in interrupt context (every X timer tick) and
> I ask because the ATA disk routines have mutex sections, and was
Thanks. Yes, we are today opening and reading files in both the main
> In the kernel.c mutex_lock function, there's no STI/CLI pair around the
Exactly. We delierately chose to use cooperative scheduling to keep
> I see that the queue_post routines have it, and I assume that's because
Correct again. :-)
> I haven't seen yet what gcc emits for SH1, but for some systems,
About optimisation in general, I have instructed people to not think about
Your example is not complex or counter-intuitive, so it's not a problem,
-- Björn
Page was last modified "Jan 10 2012" The Rockbox Crew |