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; }
void disposeScheduler(PScheduler* scheduler){ dispose_queue(scheduler); }
void tearDown(){ dispose_queue(queue); }