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

Rockbox mail archive

Subject: Re: question about plugin api extension

Re: question about plugin api extension

From: [IDC]Dragon <>
Date: Tue, 2 Mar 2004 08:11:22 +0100 (MET)

> Why an own thread? seems a little complicated. The whole thing can be
> managed in a state machine way.
> Don't you think we can do everything with interrupts?

We should not do so. It is not safe to call API function from interrupts,
gives a terrible latency for other interrupts with lower priority, gives
stacksize problems, etc.

A thread which receives messages from the ISRs is the clean way. But even
with threads we have to be careful (I think), only call functions which are
reentrant or have been mutex-ed.


GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ +++
Received on 2004-03-02

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