version 1.1.1.1, 2012/02/21 23:32:47
|
version 1.1.1.2, 2013/07/22 08:44:29
|
Line 28
|
Line 28
|
}; |
}; |
typedef struct mpmsg *Msg; |
typedef struct mpmsg *Msg; |
|
|
#define MSG_QUEUE_LEN 8192 |
|
#define MSG_QUEUE_MASK 0x1FFF |
|
|
|
struct mpmsg msgqueue[MSG_QUEUE_LEN]; |
struct mpmsg msgqueue[MSG_QUEUE_LEN]; |
int msgqueueh = 0; |
int msgqueueh = 0; |
int msgqueuet = 0; |
int msgqueuet = 0; |
Line 40
|
Line 37
|
int msgpipe[2]; |
int msgpipe[2]; |
int msgpipesent = 0; |
int msgpipesent = 0; |
EventRef msgevent; |
EventRef msgevent; |
|
|
|
/* |
|
* GLOBAL VARIABLES |
|
*/ |
|
|
|
int gQThresMin = 64; |
|
int gQThresMax = 256; |
|
int gQThresDiff = 256 - 64; |
|
|
/* |
/* |
* INTERNAL FUNCTIONS |
* INTERNAL FUNCTIONS |