(PP_MAIN): New.
(empth_init): Use it rather than literal.
This commit is contained in:
parent
85a64e9fef
commit
0730780b64
2 changed files with 2 additions and 1 deletions
|
@ -92,6 +92,7 @@ enum {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* thread priorities */
|
/* thread priorities */
|
||||||
|
#define PP_MAIN 7
|
||||||
#define PP_UPDATE 6
|
#define PP_UPDATE 6
|
||||||
#define PP_SHUTDOWN 5
|
#define PP_SHUTDOWN 5
|
||||||
#define PP_SCHED 4
|
#define PP_SCHED 4
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
int
|
int
|
||||||
empth_init(void **ctx, int flags)
|
empth_init(void **ctx, int flags)
|
||||||
{
|
{
|
||||||
lwpInitSystem(7, (char **)ctx, flags);
|
lwpInitSystem(PP_MAIN, (char **)ctx, flags);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue