* NanoX applications priority
@ 2006-06-06 15:33 llandre
0 siblings, 0 replies; only message in thread
From: llandre @ 2006-06-06 15:33 UTC (permalink / raw)
To: ecos-devel
The eCos repository provides several nanox application examples. I have
a doubt about what the priority of such applications should be. In
microwin/ecos_mw_app.h the following #defines are defined:
#define ECOS_MW_STARTUP_PRIORITY 11
#define ECOS_MW_NANOX_PRIORITY (ECOS_MW_STARTUP_PRIORITY+1)
#define ECOS_MW_KND_PRIORITY (ECOS_MW_STARTUP_PRIORITY+2)
#define ECOS_MW_NANOWM_PRIORITY (ECOS_MW_STARTUP_PRIORITY+4)
#define ECOS_MW_APP_PRIORITY (ECOS_MW_STARTUP_PRIORITY+5)
In my understading ECOS_MW_APP_PRIORITY should be used for applications.
However ntetris uses ECOS_MW_NANOX_PRIORITY:
#include <microwin/ecos_mw_app.h>
_mw_app("Nano-tetris demo", ntetris, ECOS_MW_NANOX_PRIORITY, 0);
externC int ntetris_main(int argc, char *argv[]);
...
while "world demo" uses ECOS_MW_APP_PRIORITY:
#include <microwin/ecos_mw_app.h>
_mw_app("World demo", world, ECOS_MW_APP_PRIORITY, 0);
...
Which one is correct?
TIA,
llandre
DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2@dave-tech.it
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-06 15:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-06 15:33 NanoX applications priority llandre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).