(PP_MAIN): New.

(empth_init): Use it rather than literal.
This commit is contained in:
Markus Armbruster 2005-09-30 17:37:04 +00:00
parent 85a64e9fef
commit 0730780b64
2 changed files with 2 additions and 1 deletions

View file

@ -92,6 +92,7 @@ enum {
};
/* thread priorities */
#define PP_MAIN 7
#define PP_UPDATE 6
#define PP_SHUTDOWN 5
#define PP_SCHED 4

View file

@ -40,7 +40,7 @@
int
empth_init(void **ctx, int flags)
{
lwpInitSystem(7, (char **)ctx, flags);
lwpInitSystem(PP_MAIN, (char **)ctx, flags);
return 0;
}