6 volatile int isFull(
volatile int *QCount);
7 volatile int isEmpty(
volatile int *QCount);
8 void enqueueSQ(
volatile PD **p,
volatile PD **Queue,
volatile int *QCount);
9 void enqueueRQ(
volatile PD **p,
volatile PD **Queue,
volatile int *QCount);
10 volatile PD *
dequeueRQ(
volatile PD **Queue,
volatile int *QCount);
11 volatile PD *
dequeue(
volatile PD **Queue,
volatile int *QCount);
volatile PD * WaitingQueue[MAXTHREAD]
void enqueueRQ(volatile PD **p, volatile PD **Queue, volatile int *QCount)
void enqueueSQ(volatile PD **p, volatile PD **Queue, volatile int *QCount)
volatile int isEmpty(volatile int *QCount)
volatile PD * dequeueRQ(volatile PD **Queue, volatile int *QCount)
volatile int isFull(volatile int *QCount)
volatile PD * dequeue(volatile PD **Queue, volatile int *QCount)
volatile PD * SleepQueue[MAXTHREAD]
volatile PD * ReadyQueue[MAXTHREAD]