int main(int argc, char *argv[]){

  QUEUE Q;
  int i;

  Q = init_queue(8);
 
  for(i=0; i<6; i++){
    enqueue(i, Q);
  }
  
  for(i=0; i<6; i++){
    printf("%d ", dequeue(Q));
  }
  printf("\n");
   

  dispose_queue(Q);

  return 0;

}
Beispiel #2
0
void disposeScheduler(PScheduler* scheduler){
	dispose_queue(scheduler);
}
Beispiel #3
0
void tearDown(){
        dispose_queue(queue);
}