(PP_MAIN, PP_UPDATE, PP_SHUTDOWN, PP_SCHED, PP_TIMESTAMP, PP_PLAYER)
(PP_ACCEPT, PP_KILLIDLE): Move from player.h to empthread.h and turn into enumeration constants.
This commit is contained in:
parent
8b0eae7594
commit
3b90d0cb81
3 changed files with 13 additions and 12 deletions
|
@ -48,6 +48,18 @@
|
||||||
#ifndef _EMTHREAD_H_
|
#ifndef _EMTHREAD_H_
|
||||||
#define _EMTHREAD_H_
|
#define _EMTHREAD_H_
|
||||||
|
|
||||||
|
/* thread priorities */
|
||||||
|
enum {
|
||||||
|
PP_MAIN = 7,
|
||||||
|
PP_UPDATE = 6,
|
||||||
|
PP_SHUTDOWN = 5,
|
||||||
|
PP_SCHED = 4,
|
||||||
|
PP_TIMESTAMP = 2,
|
||||||
|
PP_PLAYER = 3,
|
||||||
|
PP_ACCEPT = 3,
|
||||||
|
PP_KILLIDLE = 2
|
||||||
|
};
|
||||||
|
|
||||||
#ifdef EMPTH_LWP
|
#ifdef EMPTH_LWP
|
||||||
#include "lwp.h"
|
#include "lwp.h"
|
||||||
|
|
||||||
|
|
|
@ -91,14 +91,4 @@ enum {
|
||||||
PF_UTF8 = bit(0) /* client wants UTF-8 */
|
PF_UTF8 = bit(0) /* client wants UTF-8 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* thread priorities */
|
|
||||||
#define PP_MAIN 7
|
|
||||||
#define PP_UPDATE 6
|
|
||||||
#define PP_SHUTDOWN 5
|
|
||||||
#define PP_SCHED 4
|
|
||||||
#define PP_TIMESTAMP 2
|
|
||||||
#define PP_PLAYER 3
|
|
||||||
#define PP_ACCEPT 3
|
|
||||||
#define PP_KILLIDLE 2
|
|
||||||
|
|
||||||
#endif /* _PLAYER_H_ */
|
#endif /* _PLAYER_H_ */
|
||||||
|
|
|
@ -33,8 +33,7 @@
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <time.h>
|
||||||
#include "prototypes.h"
|
|
||||||
#include "empthread.h"
|
#include "empthread.h"
|
||||||
|
|
||||||
/* The thread `created' by lwpInitSystem() */
|
/* The thread `created' by lwpInitSystem() */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue