(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:
Markus Armbruster 2005-12-28 21:21:15 +00:00
parent 8b0eae7594
commit 3b90d0cb81
3 changed files with 13 additions and 12 deletions

View file

@ -48,6 +48,18 @@
#ifndef _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
#include "lwp.h"

View file

@ -91,14 +91,4 @@ enum {
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_ */

View file

@ -33,8 +33,7 @@
#include <config.h>
#include <stdio.h>
#include "prototypes.h"
#include <time.h>
#include "empthread.h"
/* The thread `created' by lwpInitSystem() */